From a28f0adfdbf0b5554b537c4d47d5f85a633ce0c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 12 Jun 2020 12:53:54 +0200 Subject: [PATCH] debian: add python3 packaging --- debian/compat | 2 +- debian/control | 9 ++++++++- debian/rules | 5 ++++- 3 files changed, 13 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 8184169..31048bc 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: passerelle-atreal-openads Maintainer: Michael Bideau 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, python3-setuptools, python3-all, python3-django Standards-Version: 3.9.1 Package: python-passerelle-atreal-openads @@ -11,3 +11,10 @@ Depends: ${misc:Depends}, ${python:Depends}, python-magic Description: Passerelle connector to openADS.API . + +Package: python3-passerelle-atreal-openads +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, + python3-magic +Description: Passerelle connector to openADS.API (Python 3) + . diff --git a/debian/rules b/debian/rules index 4647c9c..8f7406f 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,7 @@ #!/usr/bin/make -f +export PYBUILD_NAME=passerelle-atreal-openads +export PYBUILD_DISABLE=test + %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild