From 8db7d62146df24066ba40c640c8918ed6948b140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 12 Jun 2020 13:50:31 +0200 Subject: [PATCH] debian: build package for python3 --- debian/compat | 2 +- debian/control | 8 +++++++- debian/rules | 5 ++++- 3 files changed, 12 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 5f54322..fc38336 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: passerelle-reunion-unicite Maintainer: Nicolas Clain 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-unicite @@ -10,3 +10,9 @@ Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Passerelle connector to passerelle + +Package: python3-passerelle-reunion-unicite +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Passerelle connector to passerelle (Python 3) + diff --git a/debian/rules b/debian/rules index 4647c9c..d71b56c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,7 @@ #!/usr/bin/make -f +export PYBUILD_NAME=passerelle-reunion-unicite +export PYBUILD_DISABLE=test + %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild