diff -Nru python-wsaccel-0.6.2/debian/changelog python-wsaccel-0.6.2/debian/changelog --- python-wsaccel-0.6.2/debian/changelog 2019-09-08 09:01:13.000000000 +0000 +++ python-wsaccel-0.6.2/debian/changelog 2019-09-30 00:15:59.000000000 +0000 @@ -1,3 +1,9 @@ +python-wsaccel (0.6.2-2+rpi1) bullseye-staging; urgency=medium + + * Reinstate python 2 support for now. + + -- Peter Michael Green Mon, 30 Sep 2019 00:15:59 +0000 + python-wsaccel (0.6.2-2) unstable; urgency=medium [ Ondřej Nový ] diff -Nru python-wsaccel-0.6.2/debian/control python-wsaccel-0.6.2/debian/control --- python-wsaccel-0.6.2/debian/control 2019-09-08 09:01:13.000000000 +0000 +++ python-wsaccel-0.6.2/debian/control 2019-09-30 00:15:42.000000000 +0000 @@ -8,6 +8,9 @@ cython3, debhelper-compat (= 10), dh-python, + python-all-dev, + python-pytest, + python-setuptools, openstack-pkg-tools (>= 99~), python3-all-dev, python3-pytest, @@ -17,6 +20,20 @@ Vcs-Git: https://salsa.debian.org/openstack-team/python/python-wsaccel.git Homepage: https://github.com/methane/wsaccel +Package: python-wsaccel +Architecture: any +Depends: + cython, + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends}, +Description: Accelerator for ws4py and AutobahnPython - Python 2.7 + WSAccell is WebSocket accelerator for AutobahnPython, ws4py and Tornado. It + replaces per-byte process in them with Cython version. AutobahnPython + beginning with version 0.6 automatically uses WSAccell if available. + . + This package provides the Python 2.7 module. + Package: python3-wsaccel Architecture: any Depends: diff -Nru python-wsaccel-0.6.2/debian/rules python-wsaccel-0.6.2/debian/rules --- python-wsaccel-0.6.2/debian/rules 2019-09-08 09:01:13.000000000 +0000 +++ python-wsaccel-0.6.2/debian/rules 2019-09-30 00:15:42.000000000 +0000 @@ -1,25 +1,32 @@ #!/usr/bin/make -f UPSTREAM_GIT := https://github.com/methane/wsaccel -include /usr/share/openstack-pkg-tools/pkgos.make +-include /usr/share/openstack-pkg-tools/pkgos.make export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: - dh $@ --buildsystem=python_distutils --with python3 - -override_dh_auto_clean: - rm -rf build .stestr - find . -iname '*.pyc' -delete - for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done - -override_dh_auto_build: - echo "Do nothing..." + dh $@ --buildsystem=python_distutils --with python2,python3 override_dh_auto_install: - pkgos-dh_auto_install --no-py2 + pkgos-dh_auto_install override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) echo "No tests for now." endif + +override_dh_clean: + dh_clean -O--buildsystem=python_distutils + rm -rf build + + +# Commands not to run +override_dh_installcatalogs: +override_dh_installemacsen override_dh_installifupdown: +override_dh_installinfo override_dh_installmenu override_dh_installmime: +override_dh_installmodules override_dh_installlogcheck: +override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm: +override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal: +override_dh_installcron override_dh_installdebconf: +override_dh_installlogrotate override_dh_installgsettings: