diff -Nru pybtex-0.21/debian/changelog pybtex-0.21/debian/changelog --- pybtex-0.21/debian/changelog 2017-07-22 20:55:03.000000000 +0000 +++ pybtex-0.21/debian/changelog 2017-07-26 09:05:27.000000000 +0000 @@ -1,3 +1,13 @@ +pybtex (0.21-2) unstable; urgency=medium + + * Bump debhelper version to 10, no changes required + * Let the pybtex CLI use the Python 3 backend + * Normalize the preamble of the rules file + * Drop superfluous .PHONY occurrences + * Fix a typo in deb/changelog + + -- Ghislain Antony Vaillant Wed, 26 Jul 2017 10:05:27 +0100 + pybtex (0.21-1) unstable; urgency=medium * Upgrade watch file to version 4 @@ -16,7 +26,7 @@ * Filter egg-info directory with extend-diff-ignore * Run the tests in isolation from the source tree * Add versioned dependency to latexcodec - * Provide separate packages for Python 2 and docs (Closes: 856930) + * Provide separate packages for Python 2 and docs (Closes: #856930) * Provide a package for Python 3 * Build the docs using the upstream Makefile * Add support for the nocheck build profile diff -Nru pybtex-0.21/debian/compat pybtex-0.21/debian/compat --- pybtex-0.21/debian/compat 2017-07-22 20:55:03.000000000 +0000 +++ pybtex-0.21/debian/compat 2017-07-26 09:05:27.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru pybtex-0.21/debian/control pybtex-0.21/debian/control --- pybtex-0.21/debian/control 2017-07-22 20:55:03.000000000 +0000 +++ pybtex-0.21/debian/control 2017-07-26 09:05:27.000000000 +0000 @@ -3,7 +3,7 @@ Uploaders: Ghislain Antony Vaillant Section: tex Priority: optional -Build-Depends: debhelper (>= 9.20141010), +Build-Depends: debhelper (>= 10), dh-python, dpkg-dev (>= 1.17.14), python-all, @@ -27,8 +27,8 @@ Package: pybtex Architecture: all Depends: ${misc:Depends}, - ${python:Depends}, - python-pybtex (= ${binary:Version}) + ${python3:Depends}, + python3-pybtex (= ${binary:Version}) Description: BibTeX-compatible bibliography processor Pybtex reads citation information from a file and produces a formatted bibliography. BibTeX style files are supported. Alternatively it is diff -Nru pybtex-0.21/debian/rules pybtex-0.21/debian/rules --- pybtex-0.21/debian/rules 2017-07-22 20:55:03.000000000 +0000 +++ pybtex-0.21/debian/rules 2017-07-26 09:05:27.000000000 +0000 @@ -1,6 +1,8 @@ #!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -#export DEB_BUILD_OPTIONS=nocheck + export PYBUILD_NAME=pybtex ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES))) @@ -10,7 +12,7 @@ export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info endif -export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin +export PYBUILD_AFTER_INSTALL_python2=rm -rf {destdir}/usr/bin %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild @@ -27,11 +29,9 @@ PYTHONPATH=$(CURDIR) $(MAKE) -C docs html endif -.PHONY: override_dh_auto_install override_dh_auto_install: dh_auto_install - dh_movefiles --package=pybtex --sourcedir=debian/python-pybtex usr/bin + dh_movefiles --package=pybtex --sourcedir=debian/python3-pybtex usr/bin -.PHONY: override_dh_compress override_dh_compress: dh_compress -X.bib -X.bibtexml -X.yaml -X.aux -X.bib # save examples