add debian folder
This commit is contained in:
parent
1931a98240
commit
9b43b47608
|
@ -0,0 +1,5 @@
|
|||
django-select2 (4.3.1-2~eo70+1) wheezy-eobuilder; urgency=low
|
||||
|
||||
* Initial package
|
||||
|
||||
-- Jérôme Schneider <jschneider@entrouvert.com> Tue, 12 May 2015 11:45:32 +0200
|
|
@ -0,0 +1,19 @@
|
|||
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)
|
||||
Standards-Version: 3.9.1
|
||||
X-Python-Version: >= 2.7
|
||||
|
||||
Package: python-django-select2
|
||||
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.
|
|
@ -0,0 +1,31 @@
|
|||
#!/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
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
extend-diff-ignore="\.egg-info$"
|
Loading…
Reference in New Issue