diff --git a/debian/control b/debian/control index b5cf304..b4730f1 100644 --- a/debian/control +++ b/debian/control @@ -2,10 +2,8 @@ Source: python-authentic2-auth-fedict Maintainer: Frederic Peters 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) diff --git a/debian/rules b/debian/rules index bcebae9..46d643d 100755 --- a/debian/rules +++ b/debian/rules @@ -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: