debian: build package for python3

This commit is contained in:
Frédéric Péters 2020-06-12 13:50:31 +02:00
parent 9d8f94e2bc
commit 8db7d62146
3 changed files with 12 additions and 3 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
9
10

8
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: passerelle-reunion-unicite
Maintainer: Nicolas Clain <nicolas.clain@cr-reunion.fr>
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)

5
debian/rules vendored
View File

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