From d4165cc9d329372209653343fa5f20cd515f1270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 12 Jun 2020 14:06:36 +0200 Subject: [PATCH] debian: build python3 package --- debian/compat | 2 +- debian/control | 10 +++++++++- debian/rules | 5 ++++- 3 files changed, 14 insertions(+), 3 deletions(-) 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 d8461cf..1aa8ea2 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: passerelle-reunion-fsn Maintainer: Emmanuel Cazenave 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 (>= 10), dh-python, python-django, python3-django Standards-Version: 3.9.1 Package: python-passerelle-reunion-fsn @@ -12,3 +12,11 @@ Depends: ${misc:Depends}, python-unicodecsv Description: Passerelle CR Reunion FSN + +Package: python3-passerelle-reunion-fsn +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + python3-unicodecsv +Description: Passerelle CR Reunion FSN (Python 3) + diff --git a/debian/rules b/debian/rules index 4647c9c..41b93de 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,7 @@ #!/usr/bin/make -f +export PYBUILD_NAME=passerelle-reunion-fsn +export PYBUILD_DISABLE=test + %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild