diff -Nru python-hurry.filesize-0.9/debian/changelog python-hurry.filesize-0.9/debian/changelog --- python-hurry.filesize-0.9/debian/changelog 2018-04-02 18:07:32.000000000 +0000 +++ python-hurry.filesize-0.9/debian/changelog 2019-09-02 14:06:50.000000000 +0000 @@ -1,3 +1,16 @@ +python-hurry.filesize (0.9-3) unstable; urgency=medium + + * Team upload. + * d/control: Use team+openstack@tracker.debian.org as maintainer + * Use debhelper-compat instead of debian/compat. + * Use pybuild to build package. + * Enable autopkgtest-pkg-python testsuite. + * d/copyright: Reorder. + * Bump debhelper compat level to 12. + * Drop Python 2 support (Closes: #937821) + + -- Ondřej Nový Mon, 02 Sep 2019 16:06:50 +0200 + python-hurry.filesize (0.9-2) unstable; urgency=medium [ Ondřej Nový ] diff -Nru python-hurry.filesize-0.9/debian/compat python-hurry.filesize-0.9/debian/compat --- python-hurry.filesize-0.9/debian/compat 2018-04-02 18:07:32.000000000 +0000 +++ python-hurry.filesize-0.9/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru python-hurry.filesize-0.9/debian/control python-hurry.filesize-0.9/debian/control --- python-hurry.filesize-0.9/debian/control 2018-04-02 18:07:32.000000000 +0000 +++ python-hurry.filesize-0.9/debian/control 2019-09-02 14:04:44.000000000 +0000 @@ -1,35 +1,19 @@ Source: python-hurry.filesize Section: python Priority: optional -Maintainer: Debian OpenStack +Maintainer: Debian OpenStack Uploaders: Thomas Goirand , Build-Depends: - debhelper (>= 9), + debhelper-compat (= 12), dh-python, - python-all, - python-setuptools, python3-all, python3-setuptools, Standards-Version: 4.1.3 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-hurry.filesize Vcs-Git: https://salsa.debian.org/openstack-team/python/python-hurry.filesize.git Homepage: https://pypi.python.org/pypi/hurry.filesize - -Package: python-hurry.filesize -Architecture: all -Depends: - ${misc:Depends}, - ${python:Depends}, -Description: human readable file sizes or anything sized in bytes - Python 2.x - hurry.filesize a simple Python library that can take a number of bytes and - returns a human-readable string with the size in it, in kilobytes (K), - megabytes (M), etc. - . - The default system it uses is "traditional", where multipliers of 1024 - increase the unit size. - . - This package provides the Python 2.x module. +Testsuite: autopkgtest-pkg-python Package: python3-hurry.filesize Architecture: all diff -Nru python-hurry.filesize-0.9/debian/copyright python-hurry.filesize-0.9/debian/copyright --- python-hurry.filesize-0.9/debian/copyright 2018-04-02 18:07:32.000000000 +0000 +++ python-hurry.filesize-0.9/debian/copyright 2019-09-02 14:04:06.000000000 +0000 @@ -2,14 +2,14 @@ Upstream-Name: hurry.filesize Source: https://pypi.python.org/pypi/hurry.filesize -Files: debian/* -Copyright: (c) 2014, Thomas Goirand -License: ZPL-2.1 - Files: * Copyright: (c) 2013, Martijn Faassen, Startifact License: ZPL-2.1 +Files: debian/* +Copyright: (c) 2014, Thomas Goirand +License: ZPL-2.1 + License: ZPL-2.1 This software is subject to the provisions of the Zope Public License, Version 2.1 (ZPL). diff -Nru python-hurry.filesize-0.9/debian/rules python-hurry.filesize-0.9/debian/rules --- python-hurry.filesize-0.9/debian/rules 2018-04-02 18:07:32.000000000 +0000 +++ python-hurry.filesize-0.9/debian/rules 2019-09-02 14:05:15.000000000 +0000 @@ -1,42 +1,13 @@ #!/usr/bin/make -f -PYTHONS:=$(shell pyversions -vr) -PYTHON3S:=$(shell py3versions -vr) - UPSTREAM_GIT = git://github.com//hurry.filesize.git -include /usr/share/openstack-pkg-tools/pkgos.make -%: - dh $@ --buildsystem=python_distutils --with python2,python3 - -override_dh_install: - set -e && for pyvers in $(PYTHONS); do \ - python$$pyvers setup.py install --install-layout=deb \ - --root $(CURDIR)/debian/python-hurry.filesize; \ - done - set -e && for pyvers in $(PYTHON3S); do \ - python$$pyvers setup.py install --install-layout=deb \ - --root $(CURDIR)/debian/python3-hurry.filesize; \ - done - rm -rf $(CURDIR)/debian/python*-hurry.filesize/usr/lib/python*/dist-packages/*.pth +export PYBUILD_NAME=hurry.filesize -#override_dh_auto_test: -#ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) -# set -e && for pyvers in $(PYTHONS) $(PYTHON3S); do \ -# python$$pyvers setup.py test ; \ -# done -#endif +%: + dh $@ --buildsystem=pybuild --with python3 override_dh_clean: - dh_clean -O--buildsystem=python_distutils + dh_clean 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: