Package: python-greenlet Version: 0.4.0-2 Severity: wishlist Tags: patch Please consider attached patch. It adds python3-greenlet{,-dbg,-dev} binary packages. dh build system change was needed in order to keep debian/rules small.
Note that I disabled python3.3-dbg's tests as they segfault for me, I didn't investigate it, but on Wheezy, python3.2-dbg works fine so it's something with python3.3-dbg (and not with the pybuild or Python 3 support in greenlet) probably. python3.3 works fine
diff -Nru python-greenlet-0.4.0/debian/changelog python-greenlet-0.4.0/debian/changelog --- python-greenlet-0.4.0/debian/changelog 2013-03-21 19:18:58.000000000 +0100 +++ python-greenlet-0.4.0/debian/changelog 2013-10-07 22:46:03.000000000 +0200 @@ -1,3 +1,13 @@ +python-greenlet (0.4.0-3) UNRELEASED; urgency=low + + * Add python3-greenlet{,-dbg,-dev} binary packages + - dh-python, python3-all-dev, python3-all-dbg and python3-setuptools + added to Build-Depends + * Build system changed to pybuild + * Drop unused python-support build-dependency (closes: #701475) + + -- Piotr Ożarowski <pi...@debian.org> Mon, 07 Oct 2013 22:45:52 +0200 + python-greenlet (0.4.0-2) unstable; urgency=low * Fix building with DEB_BUILD_OPTIONS=nocheck (closes: #703618). diff -Nru python-greenlet-0.4.0/debian/control python-greenlet-0.4.0/debian/control --- python-greenlet-0.4.0/debian/control 2012-09-03 19:22:46.000000000 +0200 +++ python-greenlet-0.4.0/debian/control 2013-10-07 21:55:16.000000000 +0200 @@ -1,8 +1,10 @@ Source: python-greenlet Priority: extra Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.hu> -Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 7.0.50~), python-all-dev, - python-all-dbg, python-setuptools, python-support, python-sphinx +Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 7.0.50~), dh-python, + python-all-dev, python-all-dbg, python-setuptools, + python3-all-dev, python3-all-dbg, python3-setuptools, + python-sphinx Standards-Version: 3.9.3 Section: python Homepage: http://pypi.python.org/pypi/greenlet @@ -70,3 +72,49 @@ greenlet is the standalone package derived from the py lib, and is used by several non-blocking IO packages as a more flexible alternative to Python's built in coroutines. + +Package: python3-greenlet +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} +Suggests: python-greenlet-doc, python-greenlet-dev, python3-greenlet-dbg +Description: lightweight in-process concurrent programming + The greenlet package is a spin-off of Stackless, a version of CPython that + supports micro-threads called "tasklets". Tasklets run pseudo-concurrently + (typically in a single or a few OS-level threads) and are synchronized with + data exchanges on "channels". + . + greenlet is the standalone package derived from the py lib, and is used by + several non-blocking IO packages as a more flexible alternative to Python's + built in coroutines. + +Package: python3-greenlet-dbg +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python3-greenlet (= ${binary:Version}) +Recommends: python3-dbg +Description: lightweight in-process concurrent programming - debugging symbols + The greenlet package is a spin-off of Stackless, a version of CPython that + supports micro-threads called "tasklets". Tasklets run pseudo-concurrently + (typically in a single or a few OS-level threads) and are synchronized with + data exchanges on "channels". + . + greenlet is the standalone package derived from the py lib, and is used by + several non-blocking IO packages as a more flexible alternative to Python's + built in coroutines. + . + This is the debugging symbols for greenlet. + +Package: python3-greenlet-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python3-greenlet (= ${binary:Version}) +Description: lightweight in-process concurrent programming - development files + The greenlet package is a spin-off of Stackless, a version of CPython that + supports micro-threads called "tasklets". Tasklets run pseudo-concurrently + (typically in a single or a few OS-level threads) and are synchronized with + data exchanges on "channels". + . + greenlet is the standalone package derived from the py lib, and is used by + several non-blocking IO packages as a more flexible alternative to Python's + built in coroutines. + . + This is the development package for greenlet. diff -Nru python-greenlet-0.4.0/debian/python3-greenlet-dbg.install python-greenlet-0.4.0/debian/python3-greenlet-dbg.install --- python-greenlet-0.4.0/debian/python3-greenlet-dbg.install 1970-01-01 01:00:00.000000000 +0100 +++ python-greenlet-0.4.0/debian/python3-greenlet-dbg.install 2013-10-07 21:55:16.000000000 +0200 @@ -0,0 +1 @@ +usr/lib/python3*/*-packages/*-3[0-9]d*.so diff -Nru python-greenlet-0.4.0/debian/python3-greenlet-dev.install python-greenlet-0.4.0/debian/python3-greenlet-dev.install --- python-greenlet-0.4.0/debian/python3-greenlet-dev.install 1970-01-01 01:00:00.000000000 +0100 +++ python-greenlet-0.4.0/debian/python3-greenlet-dev.install 2013-10-07 21:55:16.000000000 +0200 @@ -0,0 +1 @@ +debian/tmp/usr/include/python3* diff -Nru python-greenlet-0.4.0/debian/python3-greenlet.install python-greenlet-0.4.0/debian/python3-greenlet.install --- python-greenlet-0.4.0/debian/python3-greenlet.install 1970-01-01 01:00:00.000000000 +0100 +++ python-greenlet-0.4.0/debian/python3-greenlet.install 2013-10-07 21:55:16.000000000 +0200 @@ -0,0 +1,2 @@ +usr/lib/python3*/*-packages/*.egg-info +usr/lib/python3*/*-packages/*-3[0-9][!d]*.so diff -Nru python-greenlet-0.4.0/debian/python-greenlet-dbg.install python-greenlet-0.4.0/debian/python-greenlet-dbg.install --- python-greenlet-0.4.0/debian/python-greenlet-dbg.install 2012-02-11 21:11:04.000000000 +0100 +++ python-greenlet-0.4.0/debian/python-greenlet-dbg.install 2013-10-07 21:55:16.000000000 +0200 @@ -1 +1 @@ -usr/lib/python*/*-packages/*_d.so +usr/lib/python2.*/*-packages/*_d.so diff -Nru python-greenlet-0.4.0/debian/python-greenlet-dev.install python-greenlet-0.4.0/debian/python-greenlet-dev.install --- python-greenlet-0.4.0/debian/python-greenlet-dev.install 2012-02-11 21:11:04.000000000 +0100 +++ python-greenlet-0.4.0/debian/python-greenlet-dev.install 2013-10-07 21:55:16.000000000 +0200 @@ -1 +1 @@ -debian/tmp/usr/include +debian/tmp/usr/include/python2.* diff -Nru python-greenlet-0.4.0/debian/python-greenlet.install python-greenlet-0.4.0/debian/python-greenlet.install --- python-greenlet-0.4.0/debian/python-greenlet.install 2012-09-01 12:58:41.000000000 +0200 +++ python-greenlet-0.4.0/debian/python-greenlet.install 2013-10-07 21:55:16.000000000 +0200 @@ -1,2 +1,2 @@ -usr/lib/python*/*-packages/*.egg-info -usr/lib/python*/*-packages/*[!_][!_].so +usr/lib/python2.*/*-packages/*.egg-info +usr/lib/python2.*/*-packages/*[!_][!_].so diff -Nru python-greenlet-0.4.0/debian/rules python-greenlet-0.4.0/debian/rules --- python-greenlet-0.4.0/debian/rules 2013-03-21 19:17:46.000000000 +0100 +++ python-greenlet-0.4.0/debian/rules 2013-10-07 22:07:07.000000000 +0200 @@ -2,13 +2,13 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk - -PYVERSIONS := $(shell pyversions -sv) +export PYBUILD_DISABLE_python3.3-dbg=test %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild override_dh_auto_clean: + dh_auto_clean rm -rf build/ rm -f greenlet.egg-info/PKG-INFO find . \( -type f -or -type l \) \( -name '*.py[co]' -or -name '*.so' -or -name '*.log' \) -delete @@ -18,17 +18,9 @@ dh_auto_build cd doc && PYTHONPATH=.. make html -override_dh_auto_test: $(PYVERSIONS:%=test-%-stamp) -test-%-stamp: -ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) - rm -rf build/test-$* - mkdir build/test-$* - python$* setup.py install_lib -d build/test-$* - PYTHONPATH=build/test-$* python$* run-tests.py -n -endif - touch test-python-$*-stamp - override_dh_installdocs: - dh_installdocs --link-doc=python-greenlet + dh_installdocs -N python-greenlet-dbg -N python-greenlet-dev -N python3-greenlet-dbg -N python3-greenlet-dev + dh_installdocs -p python-greenlet-dbg -p python-greenlet-dev --link-doc=python-greenlet + dh_installdocs -p python3-greenlet-dbg -p python3-greenlet-dev --link-doc=python3-greenlet -.PHONY: override_dh_auto_clean override_dh_auto_build override_dh_auto_test override_dh_installdocs +.PHONY: override_dh_auto_clean override_dh_auto_build override_dh_installdocs