diff -Nru python-ptk-1.3.2/debian/changelog python-ptk-1.3.2/debian/changelog --- python-ptk-1.3.2/debian/changelog 2016-07-08 16:33:07.000000000 +0000 +++ python-ptk-1.3.2/debian/changelog 2017-08-12 19:55:18.000000000 +0000 @@ -1,3 +1,13 @@ +python-ptk (1.3.2-2) unstable; urgency=medium + + * Debhelper 10. Remove explicit rules target confusing dh. + * Standards-Version: 4.0.1 (no changes). + * Drop X-Python*-Version, redundant in Debian and confusing debcheck. + * Allow -doc package to satisfy Multi-Arch: foreign dependencies. + * Watch for new version at bitbucket, pypi seems outdated. + + -- Nicolas Boulenguez Sat, 12 Aug 2017 21:55:18 +0200 + python-ptk (1.3.2-1) unstable; urgency=medium * New upstream release. diff -Nru python-ptk-1.3.2/debian/compat python-ptk-1.3.2/debian/compat --- python-ptk-1.3.2/debian/compat 2016-01-23 15:36:45.000000000 +0000 +++ python-ptk-1.3.2/debian/compat 2017-08-12 19:42:46.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru python-ptk-1.3.2/debian/control python-ptk-1.3.2/debian/control --- python-ptk-1.3.2/debian/control 2016-07-08 15:33:03.000000000 +0000 +++ python-ptk-1.3.2/debian/control 2017-08-12 19:53:45.000000000 +0000 @@ -1,19 +1,14 @@ Source: python-ptk Priority: optional Maintainer: Nicolas Boulenguez -Build-Depends-Indep: debhelper (>= 9~) +Build-Depends-Indep: debhelper (>= 10) , dh-python , python-all (>= 2.7), python3-all (>= 3.5) , python-six, python3-six , python3-sphinx -Standards-Version: 3.9.8 +Standards-Version: 4.0.1 Section: python Homepage: https://bitbucket.org/fraca7/ptk -# Asynchronous parsing requires 3.5. -# d/rules removes async sources when building the Python2 package, but -# the documentation requires Python >= 3.5. -X-Python-Version: >= 2.7 -X-Python3-Version: >= 3.5 Vcs-Git: git://anonscm.debian.org/collab-maint/python-ptk.git Vcs-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/python-ptk.git;a=summary @@ -45,6 +40,7 @@ Package: python-ptk-doc Architecture: all +Multi-Arch: foreign Section: doc Depends: ${misc:Depends}, ${sphinxdoc:Depends} Description: parser for Python with support for asynchronous input (documentation) diff -Nru python-ptk-1.3.2/debian/copyright python-ptk-1.3.2/debian/copyright --- python-ptk-1.3.2/debian/copyright 2016-01-23 15:36:45.000000000 +0000 +++ python-ptk-1.3.2/debian/copyright 2017-08-12 19:55:18.000000000 +0000 @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PTK Upstream-Contact: https://bitbucket.org/fraca7/ptk -Source: https://pypi.python.org/pypi/ptk +Source: https://bitbucket.org/fraca7/ptk Files-Excluded: html README.rst Comment: The archive must be repackaged because the HTML documentation @@ -13,7 +13,7 @@ License: LGPL-3+ Files: debian/* -Copyright: 2016-2016 Nicolas Boulenguez +Copyright: 2016-2017 Nicolas Boulenguez License: LGPL-3+ License: LGPL-3+ diff -Nru python-ptk-1.3.2/debian/gbp.conf python-ptk-1.3.2/debian/gbp.conf --- python-ptk-1.3.2/debian/gbp.conf 2016-07-08 15:26:11.000000000 +0000 +++ python-ptk-1.3.2/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -[import-orig] -pristine-tar = True diff -Nru python-ptk-1.3.2/debian/rules python-ptk-1.3.2/debian/rules --- python-ptk-1.3.2/debian/rules 2016-01-23 15:36:45.000000000 +0000 +++ python-ptk-1.3.2/debian/rules 2017-08-12 19:55:18.000000000 +0000 @@ -2,10 +2,7 @@ # See https://wiki.debian.org/Python/LibraryStyleGuide. -POLICY_TARGETS := binary binary-arch binary-indep build build-arch \ - build-indep clean -.PHONY: $(POLICY_TARGETS) -$(POLICY_TARGETS): +%: dh $@ --with=python2,python3,sphinxdoc # ptk/async_*.py files contain the "async def" syntax, causing a diff -Nru python-ptk-1.3.2/debian/watch python-ptk-1.3.2/debian/watch --- python-ptk-1.3.2/debian/watch 2016-07-08 16:27:47.000000000 +0000 +++ python-ptk-1.3.2/debian/watch 2017-08-12 19:42:35.000000000 +0000 @@ -1,4 +1,3 @@ version=4 - -opts="uversionmangle=s/(rc|a|b|c)/~$1/" \ - https://pypi.debian.net/ptk/ptk@ANY_VERSION@@ARCHIVE_EXT@ +https://bitbucket.org/fraca7/ptk/downloads/?tab=tags \ +.*/release@ANY_VERSION@@ARCHIVE_EXT@