From 1228b9fbefd47d512c4858d92fdf903dbcd34144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 2 Feb 2020 20:12:51 +0100 Subject: [PATCH] debian: add package for python 3 --- debian/control | 8 +++++++- debian/rules | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index c45ec77..03d1f55 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: passerelle-imio-liege-rn Maintainer: Frederic Peters Section: python Priority: optional -Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), 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-liege-rn @@ -10,3 +10,9 @@ Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Passerelle connector to Liege national register webservices . + +Package: python3-passerelle-imio-liege-rn +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Passerelle connector to Liege national register webservices (Python 3) + . diff --git a/debian/rules b/debian/rules index 4647c9c..3cd988c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,8 @@ #!/usr/bin/make -f +export PYBUILD_NAME=passerelle_imio_liege_rn + %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_test: