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: