debian: switch to python 3 (#39164)
This commit is contained in:
parent
bb8a29bdc8
commit
2ebf524c7e
|
@ -2,14 +2,13 @@ Source: wcs-au-quotidien
|
||||||
Section: web
|
Section: web
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Frederic Peters <fpeters@entrouvert.com>
|
Maintainer: Frederic Peters <fpeters@entrouvert.com>
|
||||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), dh-python, debhelper (>= 9)
|
Build-Depends: python3-setuptools (>= 0.6b3), python3-all, dh-python, debhelper (>= 9)
|
||||||
Build-Depends-Indep: gettext, python-django
|
Build-Depends-Indep: gettext, python3-django
|
||||||
Standards-Version: 3.8.0.1
|
Standards-Version: 3.8.0.1
|
||||||
X-Python-Version: current
|
|
||||||
|
|
||||||
Package: wcs-au-quotidien
|
Package: wcs-au-quotidien
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${python:Depends}, wcs, python-vobject, python-eopayment
|
Depends: ${python3:Depends}, wcs, python3-vobject, python3-eopayment
|
||||||
Recommends: python-ldap
|
Recommends: python3-ldap
|
||||||
Description: w.c.s. Form Server (Au Quotidien Extension)
|
Description: w.c.s. Form Server (Au Quotidien Extension)
|
||||||
.
|
.
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
export PYBUILD_NAME=auquotidien
|
||||||
#export DH_VERBOSE=1
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --with python2
|
dh $@ --with python3 --buildsystem=pybuild
|
||||||
|
|
|
@ -9,4 +9,4 @@ use_long_traces = true
|
||||||
#missing_appdir_redirect = http://www.mysite.com
|
#missing_appdir_redirect = http://www.mysite.com
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
auquotidien = /usr/lib/python2.7/dist-packages/auquotidien/
|
auquotidien = /usr/lib/python3/dist-packages/auquotidien/
|
||||||
|
|
Reference in New Issue