debian: build a python3 package
This commit is contained in:
parent
807757110c
commit
87308323b9
|
@ -2,12 +2,17 @@ Source: django-select2
|
|||
Maintainer: Entr'ouvert <info@entrouvert.com>
|
||||
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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue