0001-debian-switch-to-Python-3-41581.patch
debian/control | ||
---|---|---|
2 | 2 |
Maintainer: Frederic Peters <fpters@entrouvert.com> |
3 | 3 |
Section: python |
4 | 4 |
Priority: optional |
5 |
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9), python-django, dh-python, dh-systemd
|
|
5 |
Build-Depends: python3-setuptools, python3-all, debhelper (>= 9), python-django, dh-python, dh-systemd
|
|
6 | 6 |
Standards-Version: 3.9.6 |
7 |
X-Python-Version: >= 2.7 |
|
8 | 7 | |
9 |
Package: python-welco |
|
8 |
Package: python3-welco
|
|
10 | 9 |
Architecture: all |
11 |
Depends: ${misc:Depends}, ${python:Depends}, |
|
12 |
python-django (>= 1.8),
|
|
13 |
python-gadjo, |
|
14 |
python-requests (>= 2.11), |
|
15 |
python-django-haystack (>= 2.4.0), |
|
16 |
python-django-reversion (>= 2.0.12), |
|
17 |
python-django-taggit (>= 0.17.4), |
|
10 |
Depends: ${misc:Depends}, ${python3:Depends},
|
|
11 |
python3-django (>= 1:1.11),
|
|
12 |
python3-gadjo,
|
|
13 |
python3-requests (>= 2.11),
|
|
14 |
python3-django-haystack (>= 2.4.0),
|
|
15 |
python3-django-reversion (>= 2.0.12),
|
|
16 |
python3-django-taggit (>= 0.17.4),
|
|
18 | 17 |
libjs-pdf (<< 1.1) |
19 |
Recommends: python-django-mellon |
|
18 |
Recommends: python3-django-mellon |
|
19 |
Breaks: welco (<< 0.73.post12) |
|
20 | 20 |
Description: Multichannel request processing (Python module) |
21 | 21 | |
22 | 22 |
Package: welco |
23 | 23 |
Architecture: all |
24 | 24 |
Depends: ${misc:Depends}, |
25 |
python-welco (= ${binary:Version}), |
|
26 |
python-hobo, |
|
27 |
python-django-tenant-schemas, |
|
28 |
python-psycopg2, |
|
29 |
python-django-mellon, |
|
30 |
python-xstatic-select2, |
|
25 |
python3-welco (= ${binary:Version}),
|
|
26 |
python3-hobo,
|
|
27 |
python3-django-tenant-schemas,
|
|
28 |
python3-psycopg2,
|
|
29 |
python3-django-mellon,
|
|
30 |
python3-xstatic-select2,
|
|
31 | 31 |
uwsgi, |
32 |
uwsgi-plugin-python, |
|
32 |
uwsgi-plugin-python3,
|
|
33 | 33 |
graphicsmagick |
34 | 34 |
Recommends: nginx |
35 | 35 |
Suggests: postgresql |
36 |
Breaks: welco (<< 0.73.post12) |
|
37 |
Replaces: welco (<< 0.73.post12) |
|
36 | 38 |
Description: Multichannel request processing |
debian/py3dist-overrides | ||
---|---|---|
1 |
django_ckeditor python3-django-ckeditor |
|
2 |
gadjo python3-gadjo |
|
3 |
xstatic_select2 python3-xstatic-select2 |
debian/pydist-overrides | ||
---|---|---|
1 |
django_ckeditor python-django-ckeditor |
debian/python-welco.dirs | ||
---|---|---|
1 |
/usr/lib/welco |
debian/python-welco.install | ||
---|---|---|
1 |
usr/bin/manage.py /usr/lib/welco |
|
2 |
usr/lib/python2*/*-packages |
debian/python-welco.links | ||
---|---|---|
1 |
usr/share/javascript/pdf usr/lib/python2.7/dist-packages/welco/sources/mail/static/pdf |
debian/python3-welco.links | ||
---|---|---|
1 |
usr/share/javascript/pdf usr/lib/python3/dist-packages/welco/sources/mail/static/pdf |
debian/rules | ||
---|---|---|
1 | 1 |
#!/usr/bin/make -f |
2 | 2 |
# -*- makefile -*- |
3 | 3 | |
4 |
# Uncomment this to turn on verbose mode. |
|
5 |
#export DH_VERBOSE=1 |
|
4 |
export PYBUILD_NAME=welco |
|
5 |
export PYBUILD_DISABLE=test |
|
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-welco/usr/bin/manage.py $(CURDIR)/debian/welco/usr/lib/welco/manage.py |
debian/uwsgi.ini | ||
---|---|---|
2 | 2 |
auto-procname = true |
3 | 3 |
procname-prefix-spaced = welco |
4 | 4 | |
5 |
plugin = python |
|
5 |
plugin = python3
|
|
6 | 6 |
module = welco.wsgi:application |
7 | 7 | |
8 | 8 |
http-socket = /run/welco/welco.sock |
debian/welco-manage | ||
---|---|---|
18 | 18 | |
19 | 19 |
if test $# -eq 0 |
20 | 20 |
then |
21 |
python ${MANAGE} help |
|
21 |
python3 ${MANAGE} help
|
|
22 | 22 |
exit 1 |
23 | 23 |
fi |
24 | 24 | |
25 |
python ${MANAGE} "$@" |
|
25 |
python3 ${MANAGE} "$@"
|
|
26 | 26 | |
27 |
- |