diff -Nru tryton-modules-analytic-purchase-4.4.0/debian/changelog tryton-modules-analytic-purchase-4.4.0/debian/changelog --- tryton-modules-analytic-purchase-4.4.0/debian/changelog 2017-08-17 14:02:40.000000000 +0000 +++ tryton-modules-analytic-purchase-4.4.0/debian/changelog 2017-08-18 10:35:21.000000000 +0000 @@ -1,3 +1,9 @@ +tryton-modules-analytic-purchase (4.4.0-4) unstable; urgency=medium + + * Switch to Python3. + + -- Mathias Behrle Fri, 18 Aug 2017 12:35:21 +0200 + tryton-modules-analytic-purchase (4.4.0-3) unstable; urgency=medium * Use the preferred https URL format in the copyright file. diff -Nru tryton-modules-analytic-purchase-4.4.0/debian/control tryton-modules-analytic-purchase-4.4.0/debian/control --- tryton-modules-analytic-purchase-4.4.0/debian/control 2017-08-17 13:13:33.000000000 +0000 +++ tryton-modules-analytic-purchase-4.4.0/debian/control 2017-08-18 09:33:11.000000000 +0000 @@ -6,24 +6,23 @@ Build-Depends: debhelper (>= 9), dh-python, - python, - python-setuptools, + python3, + python3-setuptools, Standards-Version: 4.0.1 Homepage: http://www.tryton.org/ Vcs-Browser: https://anonscm.debian.org/cgit/tryton/tryton-modules-analytic-purchase.git Vcs-Git: https://anonscm.debian.org/cgit/tryton/tryton-modules-analytic-purchase.git -X-Python-Version: >= 2.7 Package: tryton-modules-analytic-purchase Architecture: all Depends: - python-pkg-resources, + python3-pkg-resources, tryton-modules-analytic-account (>= ${version:major}), tryton-modules-analytic-invoice (>= 1:${version:major}), tryton-modules-purchase (>= ${version:major}), tryton-server (>= ${version:major}), ${misc:Depends}, - ${python:Depends}, + ${python3:Depends}, Description: Tryton Application Platform (Analytic Purchase Module) Tryton is a high-level general purpose application platform. It is the base of a complete business solution as well as a comprehensive health and hospital diff -Nru tryton-modules-analytic-purchase-4.4.0/debian/rules tryton-modules-analytic-purchase-4.4.0/debian/rules --- tryton-modules-analytic-purchase-4.4.0/debian/rules 2017-08-17 10:11:22.000000000 +0000 +++ tryton-modules-analytic-purchase-4.4.0/debian/rules 2017-08-18 10:26:56.000000000 +0000 @@ -1,6 +1,6 @@ #!/usr/bin/make -f -MAJOR := $(shell python setup.py --version | awk -F "." '{print $$1 "." $$2}') +MAJOR := $(shell python3 setup.py --version | awk -F "." '{print $$1 "." $$2}') # Don't run tests for Tryton modules, they possibly depend on other modules # of the same version, that are not yet available at build time from the archive @@ -9,7 +9,7 @@ export PYBUILD_DISABLE=test %: - dh $@ --with python2 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild override_dh_gencontrol: dh_gencontrol -- -Vversion:major="$(MAJOR)"