debian: build python3 package

This commit is contained in:
Frédéric Péters 2020-06-12 14:06:36 +02:00
parent eb39c1e17f
commit d4165cc9d3
3 changed files with 14 additions and 3 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
9
10

10
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: passerelle-reunion-fsn
Maintainer: Emmanuel Cazenave <ecazenave@entrouvert.com>
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)

5
debian/rules vendored
View File

@ -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