From 81e295d56cb6730b50d48c270e8d465f66c257b0 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:04:58 +0200 Subject: [PATCH] debian: add python3 module --- debian/compat | 2 +- debian/control | 7 ++++++- debian/rules | 7 +++---- 3 files changed, 10 insertions(+), 6 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 3089a63..5a4b433 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: passerelle-montpellier-encombrants Maintainer: Frederic Peters Section: python Priority: optional -Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9) +Build-Depends: python-setuptools, python-all, debhelper (>= 10), python3-setuptools, python3-all Standards-Version: 3.9.1 Package: python-passerelle-montpellier-encombrants @@ -10,3 +10,8 @@ Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Passerelle extension to manage encombrants +Package: python3-passerelle-montpellier-encombrants +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Passerelle extension to manage encombrants (Python 3) + diff --git a/debian/rules b/debian/rules index 00051e8..5882270 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,7 @@ #!/usr/bin/make -f -# This file was automatically generated by stdeb 0.8.2 at -# Mon, 23 Feb 2015 15:15:24 +0100 +export PYBUILD_NAME=passerelle-montpellier-encombrants +export PYBUILD_DISABLE=test %: - dh $@ --with python2 - + dh $@ --with python2,python3 --buildsystem=pybuild