[tryton-debian-vcs] tryton-modules-purchase-shipment-cost branch debian-py3 created. debian/4.0.1-1-2-g28ce16e

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Jul 5 16:34:22 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-purchase-shipment-cost.git;a=commitdiff;h=debian/4.0.1-1-2-g28ce16e
commit 28ce16e07109d4447b704b816c297442e2187438
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 8a13da6..c346eff 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-purchase-shipment-cost.git
@@ -17,13 +17,13 @@ X-Python-Version: >= 2.7
 Package: tryton-modules-purchase-shipment-cost
 Architecture: all
 Depends:
- python-pkg-resources,
+ python3-pkg-resources,
  tryton-modules-carrier (>= ${version:major}),
  tryton-modules-currency (>= ${version:major}),
  tryton-modules-stock (>= ${version:major}),
  tryton-server (>= ${version:major}),
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Suggests:
  tryton-modules-account-product (>= ${version:major}),
  tryton-modules-account-stock-anglo-saxon (>= ${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-purchase-shipment-cost



More information about the tryton-debian-vcs mailing list