From 418a67a46130dcadce71165b82a28c5047ecbfc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 29 Jan 2020 13:31:46 +0100 Subject: [PATCH] debian: add a package for python 3 --- debian/control | 9 ++++++--- debian/rules | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) 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: