diff -Nru python-zake-0.2.2/debian/changelog python-zake-0.2.2/debian/changelog --- python-zake-0.2.2/debian/changelog 2018-04-02 15:16:56.000000000 +0000 +++ python-zake-0.2.2/debian/changelog 2019-07-20 13:10:40.000000000 +0000 @@ -1,3 +1,14 @@ +python-zake (0.2.2-3) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Use team+openstack@tracker.debian.org as maintainer + * Use debhelper-compat instead of debian/compat. + + [ Thomas Goirand ] + * Removed Python 2 support. + + -- Thomas Goirand Sat, 20 Jul 2019 15:10:40 +0200 + python-zake (0.2.2-2) unstable; urgency=medium * Add missin dh-python build-depends. diff -Nru python-zake-0.2.2/debian/compat python-zake-0.2.2/debian/compat --- python-zake-0.2.2/debian/compat 2018-04-02 15:16:56.000000000 +0000 +++ python-zake-0.2.2/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru python-zake-0.2.2/debian/control python-zake-0.2.2/debian/control --- python-zake-0.2.2/debian/control 2018-04-02 15:16:56.000000000 +0000 +++ python-zake-0.2.2/debian/control 2019-07-20 13:10:40.000000000 +0000 @@ -1,22 +1,13 @@ Source: python-zake Section: python Priority: optional -Maintainer: Debian OpenStack +Maintainer: Debian OpenStack Uploaders: Thomas Goirand , Build-Depends: - debhelper (>= 9), + debhelper-compat (= 11), dh-python, - openstack-pkg-tools (>= 70~), - python-all, - python-concurrent.futures, - python-kazoo, - python-nose, - python-nose-exclude, - python-setuptools, - python-six, - python-testtools, - python-zope.interface, + openstack-pkg-tools (>= 99~), python3-all, python3-kazoo, python3-nose, @@ -25,37 +16,11 @@ python3-six, python3-testtools, python3-zope.interface, -Standards-Version: 4.1.3 +Standards-Version: 4.4.0 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-zake Vcs-Git: https://salsa.debian.org/openstack-team/python/python-zake.git Homepage: https://github.com/yahoo/Zake -Package: python-zake -Architecture: all -Depends: - python-concurrent.futures, - python-kazoo, - python-zope.interface, - ${misc:Depends}, - ${python:Depends}, -Description: provides a set of testing utilities for the kazoo library - Python 2.x - Zake is a Python package that works to provide a nice set of testing utilities - for the kazoo library. - . - It includes the following functionality: - * Storage access (for viewing what was saved/created). - * Kazoo *mostly* compatible client API. - * Sync/transaction/create/get/delete... commands. - * Listener support. - * And more... - . - It simplifies testing by providing a client that has a similar API as the - kazoo client so that your tests (or applications/libraries that use kazoo) do - not require a real zookeeper server to be tested with (since this is not - available in all testing environments). - . - This package contains the Python 2.x module. - Package: python3-zake Architecture: all Depends: diff -Nru python-zake-0.2.2/debian/python3-zake.install python-zake-0.2.2/debian/python3-zake.install --- python-zake-0.2.2/debian/python3-zake.install 1970-01-01 00:00:00.000000000 +0000 +++ python-zake-0.2.2/debian/python3-zake.install 2019-07-20 13:10:40.000000000 +0000 @@ -0,0 +1 @@ +/usr/* diff -Nru python-zake-0.2.2/debian/rules python-zake-0.2.2/debian/rules --- python-zake-0.2.2/debian/rules 2018-04-02 15:16:56.000000000 +0000 +++ python-zake-0.2.2/debian/rules 2019-07-20 13:10:40.000000000 +0000 @@ -7,14 +7,22 @@ export https_proxy = 127.0.0.1:9 %: - dh $@ --buildsystem=python_distutils --with python2,python3 + dh $@ --buildsystem=python_distutils --with python3 -override_dh_auto_install: - pkgos-dh_auto_install +override_dh_auto_clean: + echo "Do nothing" + +override_dh_auto_build: + echo "Do nothing" override_dh_auto_test: + echo "Do nothing" + +override_dh_auto_install: + pkgos-dh_auto_install --no-py2 --in-tmp + ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) - set -ex && for i in 2.7 $(PYTHON3S) ; do \ + set -ex && for i in $(PYTHON3S) ; do \ PYTHON=python$$i python$$i -m nose -v --exclude-test=zake.tests.test_client.TestClient.test_child_watch_no_create ; \ done endif