summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-02-02 18:43:54 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-02-02 18:44:22 (GMT)
commit8b8a1cb0ff52ec862329b15a0eab6479e8c7be4f (patch)
tree588b6fd65a948b7fce9a769112716938dd4225be
parent508fc9f217a27df35f59660cb01203c459da5de3 (diff)
downloadpasserelle-imio-extra-fees-8b8a1cb0ff52ec862329b15a0eab6479e8c7be4f.zip
passerelle-imio-extra-fees-8b8a1cb0ff52ec862329b15a0eab6479e8c7be4f.tar.gz
passerelle-imio-extra-fees-8b8a1cb0ff52ec862329b15a0eab6479e8c7be4f.tar.bz2
debian: add package for python 3
-rw-r--r--debian/control7
-rwxr-xr-xdebian/rules6
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 <fpeters@entrouvert.com>
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: