From 826cae0967a9e847aab1fcd8e435bdebe6de2f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 14 Oct 2019 19:37:13 +0200 Subject: [PATCH] debian: distribute a python3 version --- debian/control | 12 ++++++++++-- debian/rules | 4 +++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 559fe9d..c02a6d9 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,21 @@ Source: combo-plugin-gnm Maintainer: Frederic Peters Section: python Priority: optional -Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9), dh-python, python-django, python-dateutil +Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9), dh-python, python-django, python-dateutil, python3-all, python3-setuptools, python3-dateutil Standards-Version: 3.9.1 Package: python-combo-plugin-gnm Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-combo +Depends: ${misc:Depends}, ${python:Depends}, python-combo, python3-combo-plugin-gnm Description: Combo GNM Plugin Extension module for the Combo content management system, with various developments that are at the moment at least specific to the GNM project. + +Package: python3-combo-plugin-gnm +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python3-combo +Description: Combo GNM Plugin (Python 3) + Extension module for the Combo content management system, + with various developments that are at the moment at least + specific to the GNM project. diff --git a/debian/rules b/debian/rules index 8e998e5..a15fec0 100755 --- a/debian/rules +++ b/debian/rules @@ -7,4 +7,6 @@ export PYBUILD_NAME=combo-plugin-gnm %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_test: