Projet

Général

Profil

0001-debian-stop-building-a-python2-package-56134.patch

Frédéric Péters, 13 août 2021 08:13

Télécharger (2,1 ko)

Voir les différences:

Subject: [PATCH] debian: stop building a python2 package (#56134)

 debian/control | 32 +++++++++++---------------------
 debian/rules   |  6 ++++--
 2 files changed, 15 insertions(+), 23 deletions(-)
debian/control
2 2
Maintainer: Entr'ouvert <info@entrouvert.com>
3 3
Section: python
4 4
Priority: optional
5
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.7), debhelper (>= 9),
6
 python-django (>= 1.5), dh-python, python3-all, python3-setuptools, python3-django,
7
 python-lasso, python3-lasso
5
Build-Depends: dh-python,
6
               python3-all,
7
               python3-django,
8
               python3-lasso,
9
               python3-setuptools
8 10
Standards-Version: 3.9.1
9
X-Python-Version: >= 2.7
10
X-Python3-Version: >= 3.4
11

  
12
Package: python-django-mellon
13
Architecture: all
14
Depends: ${misc:Depends}, ${python:Depends},
15
    python (>= 2.7),
16
    python-django (>= 1:1.11),
17
    python-isodate,
18
    python-lasso,
19
    python-atomicwrites
20
Breaks: python-hobo (<< 0.34.5)
21
Description: SAML authentication for Django
22 11

  
23 12
Package: python3-django-mellon
24 13
Architecture: all
25
Depends: ${misc:Depends}, ${python:Depends},
26
    python3-django (>= 1:1.11),
27
    python3-isodate,
28
    python3-lasso,
29
    python3-atomicwrites
14
Depends: python3-atomicwrites,
15
         python3-django (>= 1:1.11),
16
         python3-isodate,
17
         python3-lasso,
18
         ${misc:Depends},
19
         ${python3:Depends}
30 20
Description: SAML authentication for Django
debian/rules
1 1
#!/usr/bin/make -f
2
export PYBUILD_NAME = django-mellon
2

  
3
export PYBUILD_NAME=django-mellon
4
export PYBUILD_DISABLE=test
3 5

  
4 6
%:
5
	dh $@ --with python2,python3 --buildsystem=pybuild
7
	dh $@ --with python3 --buildsystem=pybuild
6
-