debian: build a python3 package (#44412)

This commit is contained in:
Frédéric Péters 2020-06-24 14:48:59 +02:00
parent 6300e6b204
commit a88aec8574
4 changed files with 13 additions and 9 deletions

2
debian/changelog vendored
View File

@ -2,4 +2,4 @@ python-django-watson (1.5.2-0) unstable; urgency=low
* Initial Release.
-- Emmanuel Cazenave <ecazenave@entrouvert.com> Tue, 12 June 2018 10:23:43 +0200
-- Emmanuel Cazenave <ecazenave@entrouvert.com> Tue, 12 Jun 2018 10:23:43 +0200

2
debian/compat vendored
View File

@ -1 +1 @@
7
10

11
debian/control vendored
View File

@ -2,15 +2,18 @@ Source: python-django-watson
Maintainer: Entr'ouvert <info@entrouvert.com>
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)

7
debian/rules vendored
View File

@ -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