debian: add a package for python 3

This commit is contained in:
Frédéric Péters 2020-01-29 13:31:46 +01:00
parent 4ac5f21da7
commit 418a67a461
2 changed files with 10 additions and 5 deletions

9
debian/control vendored
View File

@ -2,10 +2,8 @@ Source: python-authentic2-auth-fedict
Maintainer: Frederic Peters <fpeters@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: python-setuptools, python3-setuptools, python-all, python3-all, debhelper (>= 9), dh-python, python-django, python3-django
Standards-Version: 3.9.1
X-Python-Version: >= 2.6
Package: python-authentic2-auth-fedict
Architecture: all
@ -13,3 +11,8 @@ Depends: ${misc:Depends},
python-authentic2 (>= 2.1.20.1054)
Description: Fedict authentication frontend for Authentic2
Package: python3-authentic2-auth-fedict
Architecture: all
Depends: ${misc:Depends},
python3-authentic2
Description: Fedict authentication frontend for Authentic2 (Python 3)

6
debian/rules vendored
View File

@ -1,6 +1,8 @@
#!/usr/bin/make -f
export PYBUILD_NAME=authentic2-auth-fedict
%:
dh $@ --with python2 --buildsystem=python_distutils
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test: