[Pkg-scicomp-commits] cpushare/trunk/debian
Sam Hocevar
sam at zoy.org
Mon Apr 7 09:57:46 UTC 2008
SVN commit 2373 by sho:
* debian/rules:
+ Put the workaround for #474630 *between* the dh_pysupport and
dh_installinit calls, otherwise the first init.d call will fail due
to the cpushare twistd plugin not being found.
M +9 -0 cpushare/trunk/debian/changelog
M +0 -10 cpushare/trunk/debian/cpushare.postinst
M +8 -0 cpushare/trunk/debian/rules
--- cpushare/trunk/debian/changelog #2372:2373
@@ -1,3 +1,12 @@
+cpushare (0.47-3) UNRELEASED; urgency=low
+
+ * debian/rules:
+ + Put the workaround for #474630 *between* the dh_pysupport and
+ dh_installinit calls, otherwise the first init.d call will fail due
+ to the cpushare twistd plugin not being found.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Mon, 07 Apr 2008 09:04:34 +0000
+
cpushare (0.47-2) unstable; urgency=low
* debian/control:
--- cpushare/trunk/debian/cpushare.postinst #2372:2373
@@ -11,13 +11,3 @@
#DEBHELPER#
-# Get rid of these files. We need to do this because python-support creates
-# them even though they don't exist in the package, and twistd does not go
-# into plugin directories if they have a __init__.py file.
-rm -f /var/lib/python-support/python*/twisted/plugins/__init__.py*
-
-# Run twistd for fun. We need to do this because twistd creates a cache
-# file in plugin directories. And of course, we need to do it after the
-# above command otherwise it won't detect our plugin.
-twistd --help >/dev/null 2>&1
-
--- cpushare/trunk/debian/rules #2372:2373
@@ -64,6 +64,14 @@
dh_installdocs
dh_installexamples debian/examples/*
dh_pysupport # must be done *before* dh_installinit
+ # Get rid of these files. We need to do this because python-support
+ # creates them even though they don't exist in the package, and twistd
+ # does not visit plugin directories if they have a __init__.py file.
+ echo 'rm -f /var/lib/python-support/python*/twisted/plugins/__init__.py*' >> debian/cpushare.postinst.debhelper
+ # Run twistd for fun. We need to do this because twistd creates a cache
+ # file in plugin directories. And of course, we need to do it after the
+ # above command otherwise it won't detect our plugin.
+ echo 'twistd --help >/dev/null 2>&1' >> debian/cpushare.postinst.debhelper
dh_installinit
dh_installman
dh_link
More information about the Pkg-scicomp-commits
mailing list