Package: python3-falcon
Version: 0.1.8-2
Severity: normal
Tags: patch
Since python-falcon build-depends on the python3 -dev packages and
python3-falcon is arch:any, I assume you want to build the compiled cython
extensions for it. This isn't currently done. Please see the attached
patch. It's versioned as an NMU, but I have no intent to NMU for this since
it's nowhere near an RC bug.
Alternately, if you don't want the compiled extensions for the python3
packages, please drop the -dev packages for python3 from build-depends and
make python3-falcon arch:all.
diff -Nru python-falcon-0.1.8/debian/changelog python-falcon-0.1.8/debian/changelog
--- python-falcon-0.1.8/debian/changelog 2014-04-18 06:11:20.000000000 -0400
+++ python-falcon-0.1.8/debian/changelog 2014-06-13 09:04:20.000000000 -0400
@@ -1,3 +1,12 @@
+python-falcon (0.1.8-2.1) UNRELEASED; urgency=medium
+
+ * Build cython compiled extensions for python3
+ - Switch to pybuild and simplify debian/rules
+ - Add python{3}-falcon.install
+ - Add cython3 to build-depends
+
+ -- Scott Kitterman <[email protected]> Fri, 13 Jun 2014 08:11:10 -0400
+
python-falcon (0.1.8-2) unstable; urgency=medium
* rm -rf $(CURDIR)/debian/python*-falcon/usr/lib/python*/dist-packages/tests
diff -Nru python-falcon-0.1.8/debian/control python-falcon-0.1.8/debian/control
--- python-falcon-0.1.8/debian/control 2014-04-18 06:11:20.000000000 -0400
+++ python-falcon-0.1.8/debian/control 2014-06-13 09:05:06.000000000 -0400
@@ -6,7 +6,9 @@
Thomas Goirand <[email protected]>,
Mehdi Abaakouk <[email protected]>
Build-Depends: cython,
+ cython3,
debhelper (>= 9),
+ dh-python,
lsb-release,
openstack-pkg-tools,
python-all (>= 2.6.6-3~),
diff -Nru python-falcon-0.1.8/debian/python3-falcon.install python-falcon-0.1.8/debian/python3-falcon.install
--- python-falcon-0.1.8/debian/python3-falcon.install 1969-12-31 19:00:00.000000000 -0500
+++ python-falcon-0.1.8/debian/python3-falcon.install 2014-06-13 09:04:59.000000000 -0400
@@ -0,0 +1,2 @@
+usr/lib/python3*/dist-packages/falcon
+usr/bin
diff -Nru python-falcon-0.1.8/debian/python-falcon.install python-falcon-0.1.8/debian/python-falcon.install
--- python-falcon-0.1.8/debian/python-falcon.install 1969-12-31 19:00:00.000000000 -0500
+++ python-falcon-0.1.8/debian/python-falcon.install 2014-06-13 09:04:59.000000000 -0400
@@ -0,0 +1 @@
+usr/lib/python2*/dist-packages/falcon
diff -Nru python-falcon-0.1.8/debian/rules python-falcon-0.1.8/debian/rules
--- python-falcon-0.1.8/debian/rules 2014-04-18 06:11:20.000000000 -0400
+++ python-falcon-0.1.8/debian/rules 2014-06-13 09:04:52.000000000 -0400
@@ -8,19 +8,11 @@
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python2,python3
+ dh $@ --buildsystem=pybuild --with python2,python3
override_dh_auto_install:
- set -e && for pyvers in $(PYTHONS); do \
- python$$pyvers setup.py install --install-layout=deb \
- --root $(CURDIR)/debian/python-falcon; \
- done
- set -e && for pyvers in $(PYTHON3S); do \
- python$$pyvers setup.py install --install-layout=deb \
- --root $(CURDIR)/debian/python3-falcon; \
- done
- rm -rf $(CURDIR)/debian/python*-falcon/usr/lib/python*/dist-packages/tests
- mv $(CURDIR)/debian/python3-falcon/usr/bin/falcon-bench $(CURDIR)/debian/python3-falcon/usr/bin/python3-falcon-bench
+ dh_auto_install
+ rm -rf $(CURDIR)/debian/tmp/usr/lib/python*/dist-packages/tests
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))