debian: add python3 package

This commit is contained in:
Frédéric Péters 2020-06-12 13:35:08 +02:00
parent a7492c76e5
commit 96759ab18a
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,11 +2,19 @@ Source: passerelle-grandlyon-elyx
Maintainer: Frederic Peters <fpeters@entrouvert.com>
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, dh-python, python3-setuptools, python3-all, python3-django
Standards-Version: 3.9.1
Package: python-passerelle-grandlyon-elyx
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Conflicts: python3-passerelle-grandlyon-elyx
Description: Passerelle connector to Grand Lyon Elyx
.
Package: python3-passerelle-grandlyon-elyx
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Conflicts: python-passerelle-grandlyon-elyx
Description: Passerelle connector to Grand Lyon Elyx (Python 3)
.

5
debian/rules vendored
View File

@ -1,7 +1,10 @@
#!/usr/bin/make -f
export PYBUILD_NAME=passerelle-grandlyon-elyx
export PYBUILD_DISABLE=test
%:
dh $@ --with python2
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_install:
cp extra/static/* $(CURDIR)/debian/python-passerelle-grandlyon-elyx/usr/share/publik/themes/publik-base/static/grandlyon-gnm/