[Python-modules-commits] r14397 - in packages/python-pipeline/trunk/debian (5 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Thu Sep 9 17:18:33 UTC 2010
Date: Thursday, September 9, 2010 @ 17:18:29
Author: jwilk
Revision: 14397
* Add support for Python 3:
+ New binary package, python3-pipeline.
+ Build-depend on python3-all.
+ Use dh_python3.
Added:
packages/python-pipeline/trunk/debian/python-pipeline.install
packages/python-pipeline/trunk/debian/python3-pipeline.install
Modified:
packages/python-pipeline/trunk/debian/changelog
packages/python-pipeline/trunk/debian/control
packages/python-pipeline/trunk/debian/rules
Modified: packages/python-pipeline/trunk/debian/changelog
===================================================================
--- packages/python-pipeline/trunk/debian/changelog 2010-09-09 17:08:17 UTC (rev 14396)
+++ packages/python-pipeline/trunk/debian/changelog 2010-09-09 17:18:29 UTC (rev 14397)
@@ -3,12 +3,16 @@
* New upstream release.
+ Update debian/copyright.
+ Drop all patches, applied upstream.
+ * Add support for Python 3:
+ + New binary package, python3-pipeline.
+ + Build-depend on python3-all.
+ + Use dh_python3.
* Update the watch file.
* Make debian/rules a bit more compact.
* Run tests at build time.
* Require debhelper (>= 7.0.50~), as overrides are being used.
- -- Jakub Wilk <jwilk at debian.org> Thu, 09 Sep 2010 19:07:29 +0200
+ -- Jakub Wilk <jwilk at debian.org> Thu, 09 Sep 2010 19:17:46 +0200
python-pipeline (0.1.1-3) unstable; urgency=low
Modified: packages/python-pipeline/trunk/debian/control
===================================================================
--- packages/python-pipeline/trunk/debian/control 2010-09-09 17:08:17 UTC (rev 14396)
+++ packages/python-pipeline/trunk/debian/control 2010-09-09 17:18:29 UTC (rev 14397)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Jakub Wilk <jwilk at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-all, python-support (>= 0.6.4)
+Build-Depends: debhelper (>= 7.0.50~), python-all, python3-all (>= 3.1.2-6~), python-support (>= 0.6.4)
Standards-Version: 3.8.4
XS-Python-Version: >= 2.4
X-Python3-Version: >= 3.0
@@ -22,7 +22,7 @@
Package: python3-pipeline
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
+Depends: ${misc:Depends}, ${python3:Depends}
Description: iterator pipelines for Python 3
python-pipeline provides an easy way to construct pipelines of iterators,
with a syntax resembling Unix shell. It supplies counterparts for some
Added: packages/python-pipeline/trunk/debian/python-pipeline.install
===================================================================
--- packages/python-pipeline/trunk/debian/python-pipeline.install (rev 0)
+++ packages/python-pipeline/trunk/debian/python-pipeline.install 2010-09-09 17:18:29 UTC (rev 14397)
@@ -0,0 +1 @@
+/usr/lib/python2.*/
Added: packages/python-pipeline/trunk/debian/python3-pipeline.install
===================================================================
--- packages/python-pipeline/trunk/debian/python3-pipeline.install (rev 0)
+++ packages/python-pipeline/trunk/debian/python3-pipeline.install 2010-09-09 17:18:29 UTC (rev 14397)
@@ -0,0 +1 @@
+/usr/lib/python3.*/
Modified: packages/python-pipeline/trunk/debian/rules
===================================================================
--- packages/python-pipeline/trunk/debian/rules 2010-09-09 17:08:17 UTC (rev 14396)
+++ packages/python-pipeline/trunk/debian/rules 2010-09-09 17:18:29 UTC (rev 14397)
@@ -1,5 +1,15 @@
#!/usr/bin/make -f
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+ dh_auto_install
+ cd py3k && python3 setup.py install --prefix=/usr --root=$(CURDIR)/debian/tmp
+
+.PHONY: override_dh_pysupport
+override_dh_pysupport:
+ dh_pysupport -p python-pipeline
+ dh_python3 -p python3-pipeline
+
.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
@@ -7,6 +17,10 @@
for python in $(shell pyversions -r); do \
$$python -c 'import pipeline as p, doctest as d; d.testmod(p, report=1)'; \
done
+ cd py3k && set -e -x; \
+ for python3 in $(shell py3versions -r); do \
+ $$python3 -c 'import pipeline as p, doctest as d; d.testmod(p, report=1)'; \
+ done
endif
.PHONY: build build-arch build-indep binary binary-arch binary-indep clean
More information about the Python-modules-commits
mailing list