debian: packaging using dh-virtualenv

This commit is contained in:
Benjamin Dauvergne 2017-08-14 13:07:12 +02:00
parent f08e0dd370
commit 0d77749cf3
4 changed files with 13 additions and 8 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
8
9

10
debian/control vendored
View File

@ -2,13 +2,11 @@ Source: publik-zoo
Section: python
Priority: optional
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Build-Depends: debhelper (>= 8.0.0),
python-django,
python-setuptools (>= 0.6b3),
python-all (>= 2.6.6-3)
Build-Depends: debhelper (>= 9),
python,
dh-virtualenv (>= 0.8)
Standards-Version: 3.9.6
Homepage: https://dev.entrouvert.org/projects/zoo
X-Python-Version: >= 2.7
Package: publik-zoo
Architecture: all
@ -19,6 +17,6 @@ Depends: ${misc:Depends}, adduser,
python-psycopg2,
python-memcache,
python-django-mellon,
gunicorn
uwsgi
Recommends: nginx, postgresql, memcached
Description: Maintain a graph of objects

View File

@ -1 +1,8 @@
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

2
debian/rules vendored
View File

@ -5,4 +5,4 @@
#export DH_VERBOSE=1
%:
dh $@ --with python2
dh $@ --with python-virtualenv