From 318683977446d712f38b4a0d79aea0bf698ee5b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 13 Aug 2021 08:13:25 +0200 Subject: [PATCH] debian: stop building a python2 package (#56134) --- debian/control | 32 +++++++++++--------------------- debian/rules | 6 ++++-- 2 files changed, 15 insertions(+), 23 deletions(-) diff --git a/debian/control b/debian/control index 586ad66..d9ce873 100644 --- a/debian/control +++ b/debian/control @@ -2,29 +2,19 @@ Source: python-django-mellon Maintainer: Entr'ouvert 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 diff --git a/debian/rules b/debian/rules index 2c404fb..1e09540 100755 --- a/debian/rules +++ b/debian/rules @@ -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