Projet

Général

Profil

0001-debian-switch-to-python-3-39164.patch

auquotidien - Frédéric Péters, 22 janvier 2020 08:47

Télécharger (2,02 ko)

Voir les différences:

Subject: [PATCH] debian: switch to python 3 (#39164)

 debian/control              | 8 ++++----
 debian/rules                | 5 ++---
 debian/wcs-au-quotidien.cfg | 2 +-
 3 files changed, 7 insertions(+), 8 deletions(-)
debian/control
2 2
Section: web
3 3
Priority: optional
4 4
Maintainer: Frederic Peters <fpeters@entrouvert.com>
5
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), dh-python, debhelper (>= 9)
6
Build-Depends-Indep: gettext, python-django
5
Build-Depends: python3-setuptools (>= 0.6b3), python3-all (>= 2.6.6-3), dh-python, debhelper (>= 9)
6
Build-Depends-Indep: gettext, python3-django
7 7
Standards-Version: 3.8.0.1
8 8
X-Python-Version: current
9 9

  
10 10
Package: wcs-au-quotidien
11 11
Architecture: all
12
Depends: ${python:Depends}, wcs, python-vobject, python-eopayment
13
Recommends: python-ldap
12
Depends: ${python3:Depends}, wcs, python3-vobject, python3-eopayment
13
Recommends: python3-ldap
14 14
Description: w.c.s. Form Server (Au Quotidien Extension)
15 15
 .
debian/rules
1 1
#!/usr/bin/make -f
2 2
# GNU copyright 1997 to 1999 by Joey Hess.
3 3

  
4
# Uncomment this to turn on verbose mode.
5
#export DH_VERBOSE=1
4
export PYBUILD_NAME=auquotidien
6 5

  
7 6
%:
8
	dh $@ --with python2
7
	dh $@ --with python3 --buildsystem=pybuild
debian/wcs-au-quotidien.cfg
9 9
#missing_appdir_redirect = http://www.mysite.com
10 10

  
11 11
[extra]
12
auquotidien = /usr/lib/python2.7/dist-packages/auquotidien/
12
auquotidien = /usr/lib/python3/dist-packages/auquotidien/
13
-