debian: build python3 package
This commit is contained in:
parent
eb39c1e17f
commit
d4165cc9d3
|
@ -1 +1 @@
|
|||
9
|
||||
10
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue