From 8b8a1cb0ff52ec862329b15a0eab6479e8c7be4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 2 Feb 2020 19:43:54 +0100 Subject: [PATCH] debian: add package for python 3 --- debian/control | 7 ++++++- debian/rules | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 56de756..8096e7a 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: passerelle-imio-extra-fees Maintainer: Frederic Peters Section: python Priority: optional -Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.7), debhelper (>= 9), python-django +Build-Depends: python-setuptools, python3-setuptools, python-all, python3-all, debhelper (>= 9), dh-python, python-django, python3-django Standards-Version: 3.9.1 Package: python-passerelle-imio-extra-fees @@ -10,3 +10,8 @@ Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Passerelle connector to compute extra fees +Package: python3-passerelle-imio-extra-fees +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Passerelle connector to compute extra fees (Python 3) + diff --git a/debian/rules b/debian/rules index 4647c9c..cf4a9a0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,8 @@ #!/usr/bin/make -f +export PYBUILD_NAME=passerelle_imio_extra_fees + %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_test: