diff -Nru versiontools-1.9.1/debian/changelog versiontools-1.9.1/debian/changelog --- versiontools-1.9.1/debian/changelog 2018-04-30 14:24:09.000000000 +0000 +++ versiontools-1.9.1/debian/changelog 2019-07-23 13:16:44.000000000 +0000 @@ -1,3 +1,18 @@ +versiontools (1.9.1-4) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Remove ancient X-Python-Version field + * d/control: Remove ancient X-Python3-Version field + + [ Benjamin Drung ] + * Bump Standards-Version to 4.4.0 + * Update my email address + * Switch to debhelper 12 + * Drop unused Python 2 version + * Add autopkgtest to run unit tests + + -- Benjamin Drung Tue, 23 Jul 2019 15:16:44 +0200 + versiontools (1.9.1-3) unstable; urgency=medium * Add required dependency on python3-distutils (Closes: #896373) diff -Nru versiontools-1.9.1/debian/compat versiontools-1.9.1/debian/compat --- versiontools-1.9.1/debian/compat 2018-04-30 14:24:09.000000000 +0000 +++ versiontools-1.9.1/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru versiontools-1.9.1/debian/control versiontools-1.9.1/debian/control --- versiontools-1.9.1/debian/control 2018-04-30 14:24:09.000000000 +0000 +++ versiontools-1.9.1/debian/control 2019-07-23 12:57:39.000000000 +0000 @@ -1,45 +1,17 @@ Source: versiontools -Maintainer: Benjamin Drung +Maintainer: Benjamin Drung Section: python Priority: optional -Build-Depends: debhelper (>= 11), +Build-Depends: debhelper-compat (= 12), dh-python, - python-all (>= 2.6.6-3~), - python-setuptools (>= 0.6b3), python3-all, python3-distutils, python3-setuptools -X-Python-Version: >= 2.4 -X-Python3-Version: >= 3.0 -Standards-Version: 4.1.4 +Standards-Version: 4.4.0 Homepage: https://launchpad.net/versiontools Vcs-Browser: https://salsa.debian.org/debian/versiontools Vcs-Git: https://salsa.debian.org/debian/versiontools.git -Package: python-versiontools -Architecture: all -Depends: ${misc:Depends}, ${python:Depends} -Description: Smart replacement for plain tuple used in __version__ (Python 2) - versiontools is a Python module providing a smart replacement for plain tuple - used in __version__. It has following features: - . - * A piece of code that allows you to keep a single version definition inside - your package or module. No more hacks in setup.py, no more duplicates in - setup.py and somewhere else. Just one version per package. - * Version objects can produce nice version strings for released files that - are compliant with PEP 386. Releases, alphas, betas, development snaphots. - All of those get good version strings out of the box. - * Version objects understand the VCS used by your project. Git, Mercurial and - Bazaar are supported out of the box. Custom systems can be added by 3rd - party plugins. - * Version object that compares as a tuple of values and sorts properly. - * Zero-dependency install! If all you care about is handling setup() to get - nice tarball names then you don’t need to depend on versiontools (no - setup_requires, no install_requires!). You will need to bundle a small - support module though. - . - This is the Python 2 version of the package. - Package: python3-versiontools Architecture: all Depends: python3-distutils, ${misc:Depends}, ${python3:Depends} diff -Nru versiontools-1.9.1/debian/rules versiontools-1.9.1/debian/rules --- versiontools-1.9.1/debian/rules 2015-10-27 15:35:34.000000000 +0000 +++ versiontools-1.9.1/debian/rules 2019-07-23 12:57:55.000000000 +0000 @@ -4,7 +4,7 @@ #export PYBUILD_TEST_ARGS=-s {dir}/test/ %: - dh $@ --buildsystem=pybuild --with python2,python3 + dh $@ --buildsystem=pybuild --with python3 override_dh_installchangelogs: dh_installchangelogs doc/changes.rst diff -Nru versiontools-1.9.1/debian/tests/control versiontools-1.9.1/debian/tests/control --- versiontools-1.9.1/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 +++ versiontools-1.9.1/debian/tests/control 2019-07-23 13:16:32.000000000 +0000 @@ -0,0 +1,4 @@ +Test-Command: for py in $(py3versions -r 2>/dev/null); do cd "$AUTOPKGTEST_TMP"; echo "Testing with $py:"; $py -m unittest -v versiontools.tests; done +Depends: python3-all, python3-versiontools +Restrictions: allow-stderr +Features: test-name=python3-unittest