diff --git a/debian/compat b/debian/compat index ec63514..f599e28 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/debian/control b/debian/control index 8eb3938..766fc99 100644 --- a/debian/control +++ b/debian/control @@ -2,11 +2,19 @@ Source: passerelle-grandlyon-iodas 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, python-all, debhelper (>= 10), python-django, dh-python, python3-setuptools, python3-all, python3-django Standards-Version: 3.9.1 Package: python-passerelle-grandlyon-iodas Architecture: all Depends: ${misc:Depends}, ${python:Depends} +Conflicts: python3-passerelle-grandlyon-iodas Description: Passerelle connector to Grand Lyon iod@as . + +Package: python3-passerelle-grandlyon-iodas +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Conflicts: python-passerelle-grandlyon-iodas +Description: Passerelle connector to Grand Lyon iod@as (Python 3) + . diff --git a/debian/rules b/debian/rules index 76673af..9fbb896 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,10 @@ #!/usr/bin/make -f +export PYBUILD_NAME=passerelle-grandlyon-iodas +export PYBUILD_DISABLE=test + %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild override_dh_install: cp extra/static/* $(CURDIR)/debian/python-passerelle-grandlyon-iodas/usr/share/publik/themes/publik-base/static/grandlyon-gnm/