debian: add python3 packaging

This commit is contained in:
Frédéric Péters 2020-06-12 12:53:54 +02:00
parent 4a4f7025bc
commit a28f0adfdb
3 changed files with 13 additions and 3 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
9
10

9
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: passerelle-atreal-openads
Maintainer: Michael Bideau <mbideau+publik@atreal.fr>
Section: python
Priority: optional
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9), python-django
Build-Depends: python-setuptools, python-all, debhelper (>= 10), python-django, python3-setuptools, python3-all, python3-django
Standards-Version: 3.9.1
Package: python-passerelle-atreal-openads
@ -11,3 +11,10 @@ Depends: ${misc:Depends}, ${python:Depends},
python-magic
Description: Passerelle connector to openADS.API
.
Package: python3-passerelle-atreal-openads
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends},
python3-magic
Description: Passerelle connector to openADS.API (Python 3)
.

5
debian/rules vendored
View File

@ -1,4 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME=passerelle-atreal-openads
export PYBUILD_DISABLE=test
%:
dh $@ --with python2
dh $@ --with python2,python3 --buildsystem=pybuild