[tryton-debian-vcs] tryton-modules-product-classification branch debian-py3 updated. upstream/4.0.0-4-g04ad8db

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Jul 5 15:46:04 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-product-classification.git;a=commitdiff;h=upstream/4.0.0-4-g04ad8db

commit 04ad8dbe5263cbb42c8faf4c511d4ec16f184e93
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 f79f010..ed4a634 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-product-classification.git
@@ -17,11 +17,11 @@ X-Python-Version: >= 2.7
 Package: tryton-modules-product-classification
 Architecture: all
 Depends:
- python-pkg-resources,
+ python3-pkg-resources,
  tryton-modules-product (>= ${version:major}),
  tryton-server (>= ${version:major}),
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Description: Tryton Application Platform (Product Classification 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 --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-product-classification



More information about the tryton-debian-vcs mailing list