debian: build as a normal python package
This commit is contained in:
parent
995ad1d7b1
commit
740714b28b
|
@ -3,14 +3,15 @@ Section: python
|
|||
Priority: optional
|
||||
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
|
||||
Build-Depends: debhelper (>= 9),
|
||||
python,
|
||||
dh-virtualenv (>= 0.8)
|
||||
python-setuptools,
|
||||
python-all,
|
||||
python-django
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: https://dev.entrouvert.org/projects/zoo
|
||||
|
||||
Package: publik-zoo
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, adduser,
|
||||
Depends: ${misc:Depends}, ${python:Depends}, adduser,
|
||||
python-django (>= 1.10),
|
||||
python-hobo,
|
||||
python-django-tenant-schemas,
|
||||
|
|
|
@ -1,8 +1 @@
|
|||
interest-noawait hobo-redeploy
|
||||
# Register interest in Python interpreter changes (Python 2 for now); and
|
||||
# don't make the Python package dependent on the virtualenv package
|
||||
# processing (noawait)
|
||||
interest-noawait /usr/bin/python2.7
|
||||
|
||||
# Also provide a symbolic trigger for all dh-virtualenv packages
|
||||
interest dh-virtualenv-interpreter-update
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@ --with python-virtualenv
|
||||
dh $@ --with python2
|
||||
|
|
Loading…
Reference in New Issue