diff -Nru dosage-2.15/debian/changelog dosage-2.15/debian/changelog --- dosage-2.15/debian/changelog 2016-06-29 12:23:28.000000000 +0000 +++ dosage-2.15/debian/changelog 2019-09-02 16:25:22.000000000 +0000 @@ -1,3 +1,12 @@ +dosage (2.15-3) unstable; urgency=medium + + * QA upload. + * switch to python3; Closes: #936439 + * debian/control + - bump Standards-Version to 4.4.0 (no changes needed) + + -- Sandro Tosi Mon, 02 Sep 2019 12:25:22 -0400 + dosage (2.15-2) unstable; urgency=medium * QA upload. diff -Nru dosage-2.15/debian/control dosage-2.15/debian/control --- dosage-2.15/debian/control 2016-06-29 11:59:00.000000000 +0000 +++ dosage-2.15/debian/control 2019-09-02 16:23:16.000000000 +0000 @@ -4,18 +4,17 @@ Maintainer: Debian QA Group Build-Depends: debhelper (>= 9), dh-python, - python-all -X-Python-Version: >= 2.7 -Standards-Version: 3.9.8 + python3 +Standards-Version: 4.4.0 Homepage: http://dosage.rocks Package: dosage Architecture: all -Depends: python-requests, - ${python:Depends}, +Depends: python3-requests, + ${python3:Depends}, ${misc:Depends} -Suggests: python-argcomplete -Provides: ${python:Provides} +Suggests: python3-argcomplete +Provides: ${python3:Provides} Description: comic strip downloader and archiver Dosage downloads comic strips. It can retrieve just the latest strip in a comic, catch-up to the last strip downloaded, or download a diff -Nru dosage-2.15/debian/dosage.postinst dosage-2.15/debian/dosage.postinst --- dosage-2.15/debian/dosage.postinst 2014-07-03 20:05:00.000000000 +0000 +++ dosage-2.15/debian/dosage.postinst 2019-09-02 14:46:29.000000000 +0000 @@ -16,12 +16,10 @@ # remove old plugin cache files # this code can be removed after Debian 8.0 "jessie" is released, since # the dropin.cache files are still in Debian 7.0 "wheezy". -for pyver in $(pyversions -s); do - f=/usr/lib/${pyver}/dist-packages/dosage/plugins/dropin.cache - if [ -f $f ]; then - rm -f $f || true - fi -done +f=/usr/lib/${pyver}/dist-packages/dosage/plugins/dropin.cache +if [ -f $f ]; then + rm -f $f || true +fi #DEBHELPER# diff -Nru dosage-2.15/debian/pycompat dosage-2.15/debian/pycompat --- dosage-2.15/debian/pycompat 2014-07-03 20:05:00.000000000 +0000 +++ dosage-2.15/debian/pycompat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -2 diff -Nru dosage-2.15/debian/rules dosage-2.15/debian/rules --- dosage-2.15/debian/rules 2016-06-29 11:57:25.000000000 +0000 +++ dosage-2.15/debian/rules 2019-09-02 16:21:58.000000000 +0000 @@ -1,35 +1,24 @@ #!/usr/bin/make -f %: - dh $@ --with python2 + dh $@ --with python3 --buildsystem=pybuild override_dh_auto_configure: # make sure the manifest is built - python setup.py sdist --manifest-only - -override_dh_auto_build: -# force usage of setup.py over Makefile - dh_auto_build --buildsystem python_distutils + python3 setup.py sdist --manifest-only override_dh_installchangelogs: -# install custom changelog dh_installchangelogs doc/changelog.txt ROOTDIR=$(CURDIR)/debian/dosage override_dh_auto_install: -# force usage of setup.py over Makefile - dh_auto_install --buildsystem python_distutils -# install bash_completion script + python3 setup.py install --root=debian/dosage --install-layout=deb; install -m 644 doc/dosage-completion $(ROOTDIR)/usr/share/bash-completion/completions override_dh_clean: # clean generated files - dh_clean _Dosage_configdata.py + dh_clean _Dosage_configdata.py _dosage_configdata.py override_dh_auto_test: # do not run test suite when building - -override_dh_builddeb: -# use xz for debian binary package compression - dh_builddeb -- -Zxz