debian: add a python3 variant
This commit is contained in:
parent
58bfdb3a81
commit
d50a6c9de8
|
@ -2,10 +2,9 @@ Source: python-authentic2-wallonie-connect
|
|||
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
|
||||
Section: python
|
||||
Priority: optional
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), debhelper (>= 7.4.3),
|
||||
python-django (>= 1.7)
|
||||
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-wallonie-connect
|
||||
Architecture: all
|
||||
|
@ -13,3 +12,10 @@ Depends: ${misc:Depends},
|
|||
python-authentic2
|
||||
Description: Authentic2 plugin for the Wallonie Connect usecase
|
||||
|
||||
|
||||
Package: python3-authentic2-wallonie-connect
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
python3-authentic2
|
||||
Description: Authentic2 plugin for the Wallonie Connect usecase (Python 3)
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export PYBUILD_NAME=authentic2-wallonie-connect
|
||||
|
||||
%:
|
||||
dh $@ --with python2 --buildsystem=python_distutils
|
||||
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_test:
|
||||
|
|
Loading…
Reference in New Issue