diff --git a/debian/control b/debian/control index c82f293..5681773 100644 --- a/debian/control +++ b/debian/control @@ -2,12 +2,17 @@ Source: django-select2 Maintainer: Entr'ouvert Section: python Priority: optional -Build-Depends: python-setuptools (>= 0.6b3), python3-setuptools, python-all (>= 2.6.6-3), python3-all, debhelper (>= 7) +Build-Depends: python-setuptools (>= 0.6b3), python3-setuptools, python-all (>= 2.6.6-3), python3-all, debhelper (>= 9) Standards-Version: 3.9.1 -X-Python-Version: >= 2.7 Package: python-django-select2 Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-django-appconf, python-xstatic-select2, python-gadjo Description: Select2 option fields for Django The app includes Select2 driven Django Widgets and Form Fields. + +Package: python3-django-select2 +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, python3-django-appconf, python3-xstatic-select2, python3-gadjo +Description: Select2 option fields for Django (Python 3) + The app includes Select2 driven Django Widgets and Form Fields. diff --git a/debian/rules b/debian/rules index 7bf6077..b9e9b66 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,8 @@ #!/usr/bin/make -f -%: - dh $@ --with python2 --buildsystem=python_distutils +export PYBUILD_NAME=django-select2 +%: + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_test: