debian: add python3 package

This commit is contained in:
Frédéric Péters 2020-06-12 13:32:45 +02:00
parent 6461ecc021
commit 5fab65d973
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-iodas
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-iodas
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Conflicts: python3-passerelle-grandlyon-iodas
Description: Passerelle connector to Grand Lyon iod@as
.
Package: python3-passerelle-grandlyon-iodas
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Conflicts: python-passerelle-grandlyon-iodas
Description: Passerelle connector to Grand Lyon iod@as (Python 3)
.

5
debian/rules vendored
View File

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