debian: disabled python 3 support

This commit is contained in:
Jérôme Schneider 2015-05-12 14:01:11 +02:00 committed by Benjamin Dauvergne
parent 9b43b47608
commit 294d48a8c8
2 changed files with 1 additions and 33 deletions

6
debian/control vendored
View File

@ -11,9 +11,3 @@ Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
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}
Description: Select2 option fields for Django
The app includes Select2 driven Django Widgets and Form Fields.

28
debian/rules vendored
View File

@ -1,31 +1,5 @@
#!/usr/bin/make -f
%:
dh $@ --with python2,python3 --buildsystem=python_distutils
override_dh_auto_clean:
python setup.py clean -a
python3 setup.py clean -a
find . -name \*.pyc -exec rm {} \;
override_dh_auto_build:
python setup.py build --force
python3 setup.py build --force
override_dh_auto_install:
python setup.py install --force --root=debian/python-django-select2 --no-compile -O0 --install-layout=deb --install-scripts=/trash
python3 setup.py install --force --root=debian/python3-django-select2 --no-compile -O0 --install-layout=deb
rm -rf debian/python-django-select2/trash
override_dh_python2:
dh_python2 --no-guessing-versions
dh $@ --with python2 --buildsystem=python_distutils