From a88aec85740ee0ff35d3efccf6617dc0c34e58db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 24 Jun 2020 14:48:59 +0200 Subject: [PATCH] debian: build a python3 package (#44412) --- debian/changelog | 2 +- debian/compat | 2 +- debian/control | 11 +++++++---- debian/rules | 7 ++++--- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 85b7031..2930c32 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,4 +2,4 @@ python-django-watson (1.5.2-0) unstable; urgency=low * Initial Release. - -- Emmanuel Cazenave Tue, 12 June 2018 10:23:43 +0200 + -- Emmanuel Cazenave Tue, 12 Jun 2018 10:23:43 +0200 diff --git a/debian/compat b/debian/compat index 7f8f011..f599e28 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +10 diff --git a/debian/control b/debian/control index 317e1c8..34bbc8d 100644 --- a/debian/control +++ b/debian/control @@ -2,15 +2,18 @@ Source: python-django-watson Maintainer: Entr'ouvert Section: python Priority: optional -Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.7), debhelper (>= 7.4.3), - python-django (>= 1.5) +Build-Depends: python-setuptools, python-all, debhelper (>= 10), python-django, python3-setuptools, python3-all, python3-django Standards-Version: 3.9.6 -X-Python-Version: >= 2.7 Package: python-django-watson Architecture: all Depends: ${misc:Depends}, ${python:Depends}, - python (>= 2.7), python-django (>= 1.8), Description: Full-text multi-table search application for Django +Package: python3-django-watson +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, + python3-django +Description: Full-text multi-table search application for Django (Python 3) + diff --git a/debian/rules b/debian/rules index bcebae9..edc99f0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f +export PYBUILD_NAME=django-watson +export PYBUILD_DISABLE=test + %: - dh $@ --with python2 --buildsystem=python_distutils - - + dh $@ --with python2,python3 --buildsystem=pybuild