0001-debian-switch-to-Python-3-43753.patch
debian/control | ||
---|---|---|
3 | 3 |
Priority: optional |
4 | 4 |
Maintainer: Thomas NOËL <tnoel@entrouvert.com> |
5 | 5 |
Build-Depends: debhelper (>= 9.0.0), |
6 |
python-django, |
|
7 |
python-setuptools (>= 0.6b3),
|
|
8 |
python-all (>= 2.6.6-3),
|
|
6 |
python3-django,
|
|
7 |
python3-setuptools,
|
|
8 |
python3-all,
|
|
9 | 9 |
dh-python, |
10 | 10 |
dh-systemd |
11 | 11 |
Standards-Version: 3.9.6 |
12 | 12 |
Homepage: https://dev.entrouvert.org/projects/passerelle |
13 |
X-Python-Version: >= 2.7 |
|
14 | 13 | |
15 |
Package: python-passerelle |
|
14 |
Package: python3-passerelle
|
|
16 | 15 |
Architecture: all |
17 |
Depends: ${python:Depends}, |
|
16 |
Depends: ${python3:Depends},
|
|
18 | 17 |
${misc:Depends}, |
19 |
python-django (>= 1:1.11), |
|
20 |
python-gadjo, |
|
21 |
python-django-model-utils, |
|
22 |
python-requests, |
|
23 |
python-setuptools, |
|
24 |
python-suds, |
|
25 |
python-cmislib, |
|
26 |
python-lxml, |
|
27 |
python-dateutil, |
|
28 |
python-pyproj, |
|
29 |
python-pil, |
|
30 |
python-zeep (>= 3.2), |
|
31 |
python-jsonschema, |
|
32 |
python-unidecode, |
|
33 |
python-pyexcel-io, |
|
34 |
python-pyexcel-ods, |
|
35 |
python-pyexcel-xls, |
|
36 |
python-crypto, |
|
37 |
python-pycryptodome, |
|
38 |
python-feedparser, |
|
39 |
python-pdfrw, |
|
40 |
python-httplib2, |
|
41 |
python-xmlschema |
|
42 |
Recommends: python-soappy, python-phpserialize
|
|
18 |
python3-django (>= 1:1.11),
|
|
19 |
python3-gadjo,
|
|
20 |
python3-django-model-utils,
|
|
21 |
python3-requests,
|
|
22 |
python3-setuptools,
|
|
23 |
python3-suds,
|
|
24 |
python3-cmislib,
|
|
25 |
python3-lxml,
|
|
26 |
python3-dateutil,
|
|
27 |
python3-pyproj,
|
|
28 |
python3-pil,
|
|
29 |
python3-zeep (>= 3.2),
|
|
30 |
python3-jsonschema,
|
|
31 |
python3-unidecode,
|
|
32 |
python3-pyexcel-io,
|
|
33 |
python3-pyexcel-ods,
|
|
34 |
python3-pyexcel-xls,
|
|
35 |
python3-crypto,
|
|
36 |
python3-pycryptodome,
|
|
37 |
python3-feedparser,
|
|
38 |
python3-pdfrw,
|
|
39 |
python3-httplib2,
|
|
40 |
python3-xmlschema
|
|
41 |
Recommends: python3-phpserialize
|
|
43 | 42 |
Description: Uniform access to multiple data sources and services (Python module) |
44 | 43 | |
45 | 44 |
Package: passerelle |
46 | 45 |
Architecture: all |
47 | 46 |
Depends: ${misc:Depends}, adduser, |
48 |
python-passerelle (= ${binary:Version}), |
|
49 |
python-hobo, |
|
50 |
python-django-tenant-schemas, |
|
51 |
python-psycopg2, |
|
52 |
python-memcache, |
|
53 |
python-django-mellon, |
|
47 |
python3-passerelle (= ${binary:Version}),
|
|
48 |
python3-hobo,
|
|
49 |
python3-django-tenant-schemas,
|
|
50 |
python3-psycopg2,
|
|
51 |
python3-memcache,
|
|
52 |
python3-django-mellon,
|
|
54 | 53 |
uwsgi, |
55 |
uwsgi-plugin-python |
|
54 |
uwsgi-plugin-python3
|
|
56 | 55 |
Recommends: nginx, memcached |
57 | 56 |
Suggests: postgresql |
58 | 57 |
Description: Uniform access to multiple data sources and services |
debian/python-passerelle.install | ||
---|---|---|
1 | 1 |
usr/bin/manage.py /usr/lib/passerelle |
2 |
usr/lib/python2*/*-packages |
debian/rules | ||
---|---|---|
2 | 2 |
# -*- makefile -*- |
3 | 3 | |
4 | 4 |
# Uncomment this to turn on verbose mode. |
5 |
#export DH_VERBOSE=1 |
|
5 |
export PYBUILD_NAME=passerelle |
|
6 | 6 | |
7 | 7 |
%: |
8 |
dh $@ --with python2,systemd |
|
8 |
dh $@ --with python3,systemd --buildsystem=pybuild |
|
9 | ||
10 |
override_dh_install: |
|
11 |
dh_install |
|
12 |
mv $(CURDIR)/debian/python3-passerelle/usr/bin/manage.py $(CURDIR)/debian/passerelle/usr/lib/passerelle/manage.py |
debian/uwsgi.ini | ||
---|---|---|
2 | 2 |
auto-procname = true |
3 | 3 |
procname-prefix-spaced = passerelle |
4 | 4 | |
5 |
plugin = python |
|
5 |
plugin = python3
|
|
6 | 6 |
module = passerelle.wsgi:application |
7 | 7 | |
8 | 8 |
http-socket = /run/passerelle/passerelle.sock |
9 |
- |