[tryton-debian-vcs] tryton-modules-account-tax-rule-country branch debian-py3 updated. debian/4.0.1-1-2-g077807f

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Jul 5 15:41:28 UTC 2016


The following commit has been merged in the debian-py3 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-tax-rule-country.git;a=commitdiff;h=debian/4.0.1-1-2-g077807f

commit 077807f2a450988bf2e1cd50301e266b766822df
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Jul 5 17:38:16 2016 +0200

    Switching to Python3.

diff --git a/debian/control b/debian/control
index a3bb8cb..960f51d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,8 @@ Uploaders: Mathias Behrle <mathiasb at m9s.biz>
 Build-Depends:
  debhelper (>= 9),
  dh-python,
- python,
- python-setuptools,
+ python3,
+ python3-setuptools,
 Standards-Version: 3.9.8
 Homepage: http://www.tryton.org/
 Vcs-Browser: https://anonscm.debian.org/cgit/tryton/tryton-modules-account-tax-rule-country.git
@@ -17,12 +17,12 @@ X-Python-Version: >= 2.7
 Package: tryton-modules-account-tax-rule-country
 Architecture: all
 Depends:
- python-pkg-resources,
+ python3-pkg-resources,
  tryton-modules-account (>= ${version:major}),
  tryton-modules-country (>= ${version:major}),
  tryton-server (>= ${version:major}),
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Suggests:
  tryton-modules-account-invoice (>= ${version:major}),
  tryton-modules-purchase (>= ${version:major}),
diff --git a/debian/rules b/debian/rules
index 020614c..4806078 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ MAJOR := $(shell python setup.py --version | awk -F "." '{print $$1 "." $$2}')
 export PYBUILD_DISABLE=test
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_gencontrol:
 	dh_gencontrol -- -Vversion:major="$(MAJOR)"
-- 
tryton-modules-account-tax-rule-country



More information about the tryton-debian-vcs mailing list