debian: run with python 3 (#41871)
This commit is contained in:
parent
3f589e9249
commit
b77c415819
|
@ -1 +1 @@
|
|||
9
|
||||
10
|
||||
|
|
|
@ -2,26 +2,26 @@ Source: zoo
|
|||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
|
||||
Build-Depends: debhelper (>= 9),
|
||||
Build-Depends: debhelper (>= 10),
|
||||
dh-python,
|
||||
dh-systemd,
|
||||
python-setuptools,
|
||||
python-all,
|
||||
python-django
|
||||
python3-setuptools,
|
||||
python3-all,
|
||||
python3-django
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: https://dev.entrouvert.org/projects/zoo
|
||||
|
||||
Package: zoo
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python:Depends}, adduser,
|
||||
python-django (>= 1.10),
|
||||
python-hobo,
|
||||
python-django-tenant-schemas,
|
||||
python-psycopg2,
|
||||
python-memcache,
|
||||
python-cached-property,
|
||||
python-django-admin-rangefilter,
|
||||
Depends: ${misc:Depends}, ${python3:Depends}, adduser,
|
||||
python3-django (>= 1:1.11),
|
||||
python3-hobo,
|
||||
python3-django-tenant-schemas,
|
||||
python3-psycopg2,
|
||||
python3-memcache,
|
||||
python3-cached-property,
|
||||
python3-django-admin-rangefilter,
|
||||
uwsgi,
|
||||
uwsgi-plugin-python
|
||||
uwsgi-plugin-python3
|
||||
Recommends: nginx, postgresql, memcached
|
||||
Description: Maintain a graph of objects
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
django_admin_rangefilter python3-django-admin-rangefilter
|
||||
gadjo python3-gadjo
|
|
@ -1,2 +0,0 @@
|
|||
django_admin_rangefilter python-django-admin-rangefilter
|
||||
gadjo python-gadjo
|
|
@ -4,4 +4,4 @@
|
|||
export PYBUILD_DISABLE=test
|
||||
|
||||
%:
|
||||
dh $@ --with python2,systemd --buildsystem=pybuild
|
||||
dh $@ --with python3,systemd --buildsystem=pybuild
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
auto-procname = true
|
||||
procname-prefix-spaced = zoo
|
||||
|
||||
plugin = python
|
||||
plugin = python3
|
||||
module = zoo.wsgi:application
|
||||
|
||||
http-socket = /run/zoo/zoo.sock
|
||||
|
|
|
@ -22,5 +22,4 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
python ${MANAGE} "$@"
|
||||
|
||||
python3 ${MANAGE} "$@"
|
||||
|
|
Loading…
Reference in New Issue