[skel] default debian/rules use pysupport to compile python files stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 24 Nov 2011 16:57:31 +0100
branchstable
changeset 8098 e80edd022901
parent 8086 a057a0a4371b
child 8099 4fce19f0305b
child 8106 241123f7bcd0
[skel] default debian/rules use pysupport to compile python files Drop the unused python-dev build-dependency (only necessary for binary extensions)
skeleton/debian/control.tmpl
skeleton/debian/rules.tmpl
--- a/skeleton/debian/control.tmpl	Wed Nov 16 22:07:32 2011 +0100
+++ b/skeleton/debian/control.tmpl	Thu Nov 24 16:57:31 2011 +0100
@@ -2,7 +2,7 @@
 Section: web
 Priority: optional
 Maintainer: %(author)s <%(author-email)s>
-Build-Depends: debhelper (>= 5.0.37.1), python (>=2.4), python-dev (>=2.4)
+Build-Depends: debhelper (>= 5.0.37.1), python (>=2.4), python-support
 Standards-Version: 3.8.0
 
 
--- a/skeleton/debian/rules.tmpl	Wed Nov 16 22:07:32 2011 +0100
+++ b/skeleton/debian/rules.tmpl	Thu Nov 24 16:57:31 2011 +0100
@@ -37,6 +37,7 @@
 	dh_installexamples -i
 	dh_installdocs -i
 	dh_installman -i
+	dh_pysupport -i /usr/share/cubicweb
 	dh_link -i
 	dh_compress -i -X.py -X.ini -X.xml -Xtest
 	dh_fixperms -i