debian: add package for python 3

This commit is contained in:
Frédéric Péters 2020-02-02 19:43:54 +01:00
parent 508fc9f217
commit 8b8a1cb0ff
2 changed files with 11 additions and 2 deletions

7
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: passerelle-imio-extra-fees
Maintainer: Frederic Peters <fpeters@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 (>= 9), dh-python, python-django, python3-django
Standards-Version: 3.9.1
Package: python-passerelle-imio-extra-fees
@ -10,3 +10,8 @@ Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Description: Passerelle connector to compute extra fees
Package: python3-passerelle-imio-extra-fees
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Passerelle connector to compute extra fees (Python 3)

6
debian/rules vendored
View File

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