debian: stop building python2 package

This commit is contained in:
Frédéric Péters 2021-12-12 11:17:19 +01:00
parent 37759806b7
commit 948ab43fb5
2 changed files with 2 additions and 9 deletions

9
debian/control vendored
View File

@ -2,16 +2,9 @@ Source: passerelle-grandlyon-elyx
Maintainer: Frederic Peters <fpeters@entrouvert.com>
Section: python
Priority: optional
Build-Depends: python-setuptools, python-all, debhelper (>= 10), python-django, dh-python, python3-setuptools, python3-all, python3-django
Build-Depends: debhelper (>= 10), 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}

2
debian/rules vendored
View File

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