debian: distribute a python3 version

This commit is contained in:
Frédéric Péters 2019-10-14 19:25:28 +02:00
parent 49cecaa7cf
commit f803ce4d6b
2 changed files with 11 additions and 2 deletions

9
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: combo-plugin-nanterre
Maintainer: Thomas NOEL <tnoel@entrouvert.com>
Section: python
Priority: optional
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9), dh-python, python-django
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9), dh-python, python-django, python3-all
Standards-Version: 3.9.1
Package: python-combo-plugin-nanterre
@ -11,3 +11,10 @@ Depends: ${misc:Depends}, ${python:Depends}, python-combo
Description: Nanterre plugin
Extension module for the combo content management system,
adding SAGA payment system.
Package: python3-combo-plugin-nanterre
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python3-combo
Description: Nanterre plugin (Python 3)
Extension module for the combo content management system,
adding SAGA payment system.

4
debian/rules vendored
View File

@ -7,4 +7,6 @@
export PYBUILD_NAME=combo-plugin-nanterre
%:
dh $@ --with python2 --buildsystem=pybuild
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test: