debian: disabled python 3 support
This commit is contained in:
parent
9b43b47608
commit
294d48a8c8
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue