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