debian: add python3 packaging (#41219)

This commit is contained in:
Benjamin Dauvergne 2020-04-03 10:51:11 +02:00
parent a559c7ae82
commit 3eef1a0ea5
2 changed files with 12 additions and 7 deletions

11
debian/control vendored
View File

@ -2,8 +2,8 @@ Source: python-authentic2-auth-kerberos
Maintainer: Benjamin Dauvergne <info@entrouvert.com>
Section: python
Priority: optional
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), debhelper (>= 9.0.0),
python-django (>= 1.5)
Build-Depends: python3-setuptools, python3-all, python-setuptools, python-all, debhelper (>= 9.0.0),
python-django (>= 1.11), dh-python
Standards-Version: 3.9.1
X-Python-Version: >= 2.6
@ -14,3 +14,10 @@ Depends: ${misc:Depends},
python-django-kerberos (< 2)
Description: Kerberos authentication frontend for Authentic2
Package: python3-authentic2-auth-kerberos
Architecture: all
Depends: ${misc:Depends},
python3-authentic2 (>= 2.1.2),
python3-django-kerberos (< 2)
Description: Kerberos authentication frontend for Authentic2

8
debian/rules vendored
View File

@ -1,9 +1,7 @@
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.6.0+git at
# Fri, 14 Jun 2013 17:33:52 +0200
export PYBUILD_DISABLE=test
export PYBUILD_NAME=authentic2-auth-kerberos
%:
dh $@ --with python2 --buildsystem=python_distutils
dh $@ --with python2,python3 --buildsystem=pybuild