0001-debian-run-with-python-3-41871.patch
debian/compat | ||
---|---|---|
1 |
9 |
|
1 |
10 |
debian/control | ||
---|---|---|
2 | 2 |
Section: python |
3 | 3 |
Priority: optional |
4 | 4 |
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com> |
5 |
Build-Depends: debhelper (>= 9),
|
|
5 |
Build-Depends: debhelper (>= 10),
|
|
6 | 6 |
dh-python, |
7 | 7 |
dh-systemd, |
8 |
python-setuptools, |
|
9 |
python-all, |
|
10 |
python-django |
|
8 |
python3-setuptools,
|
|
9 |
python3-all,
|
|
10 |
python3-django
|
|
11 | 11 |
Standards-Version: 3.9.6 |
12 | 12 |
Homepage: https://dev.entrouvert.org/projects/zoo |
13 | 13 | |
14 | 14 |
Package: zoo |
15 | 15 |
Architecture: all |
16 |
Depends: ${misc:Depends}, ${python:Depends}, adduser, |
|
17 |
python-django (>= 1.10),
|
|
18 |
python-hobo, |
|
19 |
python-django-tenant-schemas, |
|
20 |
python-psycopg2, |
|
21 |
python-memcache, |
|
22 |
python-cached-property, |
|
23 |
python-django-admin-rangefilter, |
|
16 |
Depends: ${misc:Depends}, ${python3:Depends}, adduser,
|
|
17 |
python3-django (>= 1:1.11),
|
|
18 |
python3-hobo,
|
|
19 |
python3-django-tenant-schemas,
|
|
20 |
python3-psycopg2,
|
|
21 |
python3-memcache,
|
|
22 |
python3-cached-property,
|
|
23 |
python3-django-admin-rangefilter,
|
|
24 | 24 |
uwsgi, |
25 |
uwsgi-plugin-python |
|
25 |
uwsgi-plugin-python3
|
|
26 | 26 |
Recommends: nginx, postgresql, memcached |
27 | 27 |
Description: Maintain a graph of objects |
debian/py3dist-overrides | ||
---|---|---|
1 |
django_admin_rangefilter python3-django-admin-rangefilter |
|
2 |
gadjo python3-gadjo |
debian/pydist-overrides | ||
---|---|---|
1 |
django_admin_rangefilter python-django-admin-rangefilter |
|
2 |
gadjo python-gadjo |
debian/rules | ||
---|---|---|
4 | 4 |
export PYBUILD_DISABLE=test |
5 | 5 | |
6 | 6 |
%: |
7 |
dh $@ --with python2,systemd --buildsystem=pybuild |
|
7 |
dh $@ --with python3,systemd --buildsystem=pybuild |
debian/uwsgi.ini | ||
---|---|---|
2 | 2 |
auto-procname = true |
3 | 3 |
procname-prefix-spaced = zoo |
4 | 4 | |
5 |
plugin = python |
|
5 |
plugin = python3
|
|
6 | 6 |
module = zoo.wsgi:application |
7 | 7 | |
8 | 8 |
http-socket = /run/zoo/zoo.sock |
debian/zoo-manage | ||
---|---|---|
22 | 22 |
exit 1 |
23 | 23 |
fi |
24 | 24 | |
25 |
python ${MANAGE} "$@" |
|
26 | ||
25 |
python3 ${MANAGE} "$@" |
setup.py | ||
---|---|---|
1 |
#! /usr/bin/env python |
|
1 |
#! /usr/bin/env python3
|
|
2 | 2 |
# -*- coding: utf-8 -*- |
3 | 3 | |
4 | 4 |
import os |
5 |
- |