debian: switch to Python 3 (#41206)
This commit is contained in:
parent
d40dee9476
commit
cb880d0b4d
|
@ -18,9 +18,8 @@ fi
|
|||
|
||||
if test $# -eq 0
|
||||
then
|
||||
python ${MANAGE} help
|
||||
python3 ${MANAGE} help
|
||||
exit 1
|
||||
fi
|
||||
|
||||
python ${MANAGE} "$@"
|
||||
|
||||
python3 ${MANAGE} "$@"
|
||||
|
|
|
@ -2,28 +2,28 @@ Source: bijoe
|
|||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), debhelper (>= 9), python-django, dh-python, dh-systemd
|
||||
Build-Depends: python3-setuptools, python3-all, debhelper (>= 9), python3-django, dh-python, dh-systemd
|
||||
Standards-Version: 3.9.1
|
||||
Homepage: http://dev.entrouvert.org/projects/publik-bi/
|
||||
Homepage: https://dev.entrouvert.org/projects/bijoe/
|
||||
|
||||
Package: python-bijoe
|
||||
Package: python3-bijoe
|
||||
Architecture: all
|
||||
Depends: ${python:Depends},
|
||||
Depends: ${python3:Depends},
|
||||
${misc:Depends},
|
||||
python-django-jsonfield (>= 0.9.19),
|
||||
python-hobo,
|
||||
python-django-select2,
|
||||
python-django-tenant-schemas,
|
||||
python-psycopg2,
|
||||
python-django-mellon,
|
||||
python3-django-jsonfield (>= 0.9.19),
|
||||
python3-hobo,
|
||||
python3-django-select2,
|
||||
python3-django-tenant-schemas,
|
||||
python3-psycopg2,
|
||||
python3-django-mellon,
|
||||
wcs-olap
|
||||
Description: BI dashboard from Postgres db with star schema
|
||||
|
||||
Package: bijoe
|
||||
Architecture: all
|
||||
Depends: ${python:Depends},
|
||||
Depends: ${python3:Depends},
|
||||
${misc:Depends},
|
||||
python-bijoe (= ${binary:Version}),
|
||||
python3-bijoe (= ${binary:Version}),
|
||||
uwsgi,
|
||||
uwsgi-plugin-python
|
||||
uwsgi-plugin-python3
|
||||
Description: BI dashboard from Postgres db with star schema
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
isodate python3-isodate
|
||||
psycopg2 python3-psycopg2
|
||||
XStatic-ChartNew.js python3-xstatic-chartnew-js
|
||||
xstatic-select2 python3-xstatic-select2
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/bijoe
|
|
@ -1 +0,0 @@
|
|||
usr/lib/python2*/*-packages
|
|
@ -0,0 +1 @@
|
|||
usr/lib/python3.*
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export PYBUILD_DISABLE=test
|
||||
|
||||
%:
|
||||
dh $@ --with python2,systemd
|
||||
dh $@ --with python3,systemd --buildsystem=pybuild
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
auto-procname = true
|
||||
procname-prefix-spaced = bijoe
|
||||
|
||||
plugin = python
|
||||
plugin = python3
|
||||
module = bijoe.wsgi:application
|
||||
|
||||
http-socket = /run/bijoe/bijoe.sock
|
||||
|
|
Loading…
Reference in New Issue