[tryton-debian-vcs] tryton-modules-stock-package-shipping-ups branch debian updated. debian/4.4.1-2-2-g8c99779

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Aug 23 07:56:42 UTC 2017


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-package-shipping-ups.git;a=commitdiff;h=debian/4.4.1-2-2-g8c99779

commit 8c9977932628a8743ab46215dd15ef10fe517d67
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri Aug 18 12:41:09 2017 +0200

    Releasing debian version 4.4.1-3.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index af50609..11e1628 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-stock-package-shipping-ups (4.4.1-3) unstable; urgency=medium
+
+  * Switch to Python3.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Fri, 18 Aug 2017 12:35:45 +0200
+
 tryton-modules-stock-package-shipping-ups (4.4.1-2) unstable; urgency=medium
 
   * Use the preferred https URL format in the copyright file.
commit c1c82af0a569062b8bfa4e4e74911566a0a057a0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri Aug 18 11:52:00 2017 +0200

    Switch to Python3.

diff --git a/debian/control b/debian/control
index 82e227c..9826bed 100644
--- a/debian/control
+++ b/debian/control
@@ -6,19 +6,18 @@ Uploaders: Mathias Behrle <mathiasb at m9s.biz>
 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-stock-package-shipping-ups.git
 Vcs-Git: https://anonscm.debian.org/cgit/tryton/tryton-modules-stock-package-shipping-ups.git
-X-Python-Version: >= 2.7
 
 Package: tryton-modules-stock-package-shipping-ups
 Architecture: all
 Depends:
- python-pkg-resources,
- python-requests,
+ python3-pkg-resources,
+ python3-requests,
  tryton-modules-party (>= ${version:major}),
  tryton-modules-product (>= ${version:major}),
  tryton-modules-stock (>= ${version:major}),
@@ -27,7 +26,7 @@ Depends:
  tryton-modules-stock-shipment-measurements (>= ${version:major}),
  tryton-server (>= ${version:major}),
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Description: Tryton Application Platform (Stock Package Shipping UPS 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..c7963f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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 @@ 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-stock-package-shipping-ups



More information about the tryton-debian-vcs mailing list