[skeleton/debian] use dh_python2 instead of dh_pysupport for new cubes
authorJulien Cristau <julien.cristau@logilab.fr>
Mon, 01 Dec 2014 11:35:05 +0100
changeset 10103 1d648d7f072e
parent 10102 769695d59add
child 10104 cdc0b0216da2
[skeleton/debian] use dh_python2 instead of dh_pysupport for new cubes The former is deprecated.
skeleton/debian/control.tmpl
skeleton/debian/rules.tmpl
--- a/skeleton/debian/control.tmpl	Tue Oct 21 18:09:41 2014 +0200
+++ b/skeleton/debian/control.tmpl	Mon Dec 01 11:35:05 2014 +0100
@@ -2,9 +2,11 @@
 Section: web
 Priority: optional
 Maintainer: %(author)s <%(author-email)s>
-Build-Depends: debhelper (>= 7), python (>= 2.6), python-support
+Build-Depends:
+ debhelper (>= 7),
+ python (>= 2.6.5),
 Standards-Version: 3.9.3
-XS-Python-Version: >= 2.6
+X-Python-Version: >= 2.6
 
 Package: %(distname)s
 Architecture: all
--- a/skeleton/debian/rules.tmpl	Tue Oct 21 18:09:41 2014 +0200
+++ b/skeleton/debian/rules.tmpl	Mon Dec 01 11:35:05 2014 +0100
@@ -39,7 +39,7 @@
 	dh_installexamples -i
 	dh_installdocs -i README
 	dh_installman -i
-	dh_pysupport -i /usr/share/cubicweb
+	dh_python2 -i /usr/share/cubicweb
 	dh_link -i
 	dh_compress -i -X.py -X.ini -X.xml -Xtest
 	dh_fixperms -i