r2032 - in bobo/trunk/debian (control rules)
kobold at users.alioth.debian.org
kobold at users.alioth.debian.org
Thu Jan 21 08:28:25 UTC 2010
Date: Thursday, January 21, 2010 @ 08:28:23
Author: kobold
Revision: 2032
rename binaries using the python version as suffix
Modified:
bobo/trunk/debian/control
bobo/trunk/debian/rules
Modified: bobo/trunk/debian/control
===================================================================
--- bobo/trunk/debian/control 2010-01-21 08:24:45 UTC (rev 2031)
+++ bobo/trunk/debian/control 2010-01-21 08:28:23 UTC (rev 2032)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
Uploaders: Brian Sutherland <brian at vanguardistas.net>, Fabio Tranchitella <kobold at debian.org>
-Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4)
+Build-Depends: debhelper (>= >= 7.0.50~), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4)
Standards-Version: 3.8.3
Homepage: http://bobo.digicool.com
XS-Python-Version: all
Modified: bobo/trunk/debian/rules
===================================================================
--- bobo/trunk/debian/rules 2010-01-21 08:24:45 UTC (rev 2031)
+++ bobo/trunk/debian/rules 2010-01-21 08:28:23 UTC (rev 2032)
@@ -2,3 +2,16 @@
%:
dh --with pydeb --with python-central $@
+
+package=python-bobo
+
+override_dh_install:
+ dh_install
+ # console scripts
+ for script in debian/$(package)/usr/bin/*; do \
+ for py in $(shell pyversions -vr debian/control); do \
+ cat $$script | sed -e "s,/usr/bin/python,/usr/bin/python$$py,g" > $$script$$py; \
+ chmod 755 $$script$$py; \
+ done; \
+ rm $$script; \
+ done
More information about the pkg-zope-developers
mailing list