debian: add package for python 3

This commit is contained in:
Frédéric Péters 2020-02-02 19:30:47 +01:00
parent 3b6f1e12e1
commit 54bd547362
2 changed files with 12 additions and 2 deletions

8
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: passerelle-grandlyon-cartads-cs
Maintainer: Frederic Peters <fpeters@entrouvert.com>
Section: python
Priority: optional
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9), dh-python, python-django
Build-Depends: python-setuptools, python3-setuptools, python-all, python3-all, debhelper (>= 9), dh-python, python-django, python3-django
Standards-Version: 3.9.1
Package: python-passerelle-grandlyon-cartads-cs
@ -10,3 +10,9 @@ Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-passerelle
Description: Passerelle connector to Grand Lyon Cart@DS
.
Package: python3-passerelle-grandlyon-cartads-cs
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3-passerelle
Description: Passerelle connector to Grand Lyon Cart@DS (Python 3)
.

6
debian/rules vendored
View File

@ -1,4 +1,8 @@
#!/usr/bin/make -f
export PYBUILD_NAME=grandlyon_cartads_cs
%:
dh $@ --with python2
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test: