debian: stop building a python2 package (#56134)

This commit is contained in:
Frédéric Péters 2021-08-13 08:13:25 +02:00
parent fbc3588f1b
commit 3186839774
2 changed files with 15 additions and 23 deletions

32
debian/control vendored
View File

@ -2,29 +2,19 @@ Source: python-django-mellon
Maintainer: Entr'ouvert <info@entrouvert.com>
Section: python
Priority: optional
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.7), debhelper (>= 9),
python-django (>= 1.5), dh-python, python3-all, python3-setuptools, python3-django,
python-lasso, python3-lasso
Build-Depends: dh-python,
python3-all,
python3-django,
python3-lasso,
python3-setuptools
Standards-Version: 3.9.1
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.4
Package: python-django-mellon
Architecture: all
Depends: ${misc:Depends}, ${python:Depends},
python (>= 2.7),
python-django (>= 1:1.11),
python-isodate,
python-lasso,
python-atomicwrites
Breaks: python-hobo (<< 0.34.5)
Description: SAML authentication for Django
Package: python3-django-mellon
Architecture: all
Depends: ${misc:Depends}, ${python:Depends},
python3-django (>= 1:1.11),
python3-isodate,
python3-lasso,
python3-atomicwrites
Depends: python3-atomicwrites,
python3-django (>= 1:1.11),
python3-isodate,
python3-lasso,
${misc:Depends},
${python3:Depends}
Description: SAML authentication for Django

6
debian/rules vendored
View File

@ -1,5 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME = django-mellon
export PYBUILD_NAME=django-mellon
export PYBUILD_DISABLE=test
%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild