[Pkg-scicomp-commits] cpushare/trunk/debian

Sam Hocevar sam at zoy.org
Thu Jul 24 15:10:44 UTC 2008


SVN commit 2612 by sho:

  * debian/control:
    + Build-depend on python-openssl instead of python-pyopenssl.
    + Build-depend on python-support (>= 0.8.5) in order to use the .noinit
      feature.
    + Add a Homepage: field.
    + Set policy to 3.8.0. No changes required.

  * debian/rules:
    + Remove the python-support workaround hack and use its new .noinit
      feature instead.


 A             cpushare/trunk/debian/.noinit  
 M  +15 -0     cpushare/trunk/debian/changelog  
 M  +4 -3      cpushare/trunk/debian/control  
 M  +3 -7      cpushare/trunk/debian/rules  


--- cpushare/trunk/debian/changelog #2611:2612
@@ -1,3 +1,18 @@
+cpushare (0.48-3) UNRELEASED; urgency=low
+
+  * debian/control:
+    + Build-depend on python-openssl instead of python-pyopenssl.
+    + Build-depend on python-support (>= 0.8.5) in order to use the .noinit
+      feature.
+    + Add a Homepage: field.
+    + Set policy to 3.8.0. No changes required.
+
+  * debian/rules:
+    + Remove the python-support workaround hack and use its new .noinit
+      feature instead.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Thu, 24 Jul 2008 13:49:40 +0000
+
 cpushare (0.48-2) unstable; urgency=low
 
   * debian/control:
--- cpushare/trunk/debian/control #2611:2612
@@ -3,14 +3,15 @@
 Priority: optional
 Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
 Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>
-Build-Depends: debhelper (>= 6.0.7), quilt, python-support (>= 0.4.1), gcc-multilib [amd64 ppc64]
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 6.0.7), quilt, python-support (>= 0.8.5), gcc-multilib [amd64 ppc64]
+Standards-Version: 3.8.0
 Vcs-Svn: svn://svn.debian.org/pkg-scicomp/cpushare/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/cpushare/
+Homepage: http://www.cpushare.com/
 
 Package: cpushare
 Architecture: amd64 i386 ppc64 powerpc
-Depends: adduser, binutils, python-twisted-core (>= 2.4), python-pyopenssl, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: adduser, binutils, python-twisted-core (>= 2.4), python-openssl, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Suggests: cpp, gcc
 Provides: ${python:Provides}
 Description: client and server for the CPUShare distributed computing platform
--- cpushare/trunk/debian/rules #2611:2612
@@ -48,6 +48,7 @@
 	  /usr/lib/`pyversions -d`/site-packages/twisted/plugins
 	dh_install cpushare/*.py /usr/lib/`pyversions -d`/site-packages/cpushare/
 	dh_install twisted/plugins/*.py /usr/lib/`pyversions -d`/site-packages/twisted/plugins/
+	dh_install debian/.noinit /usr/lib/`pyversions -d`/site-packages/twisted/plugins/
 	dh_install debian/default/cpushare /etc/default/
 	dh_install seccomp-loader bytecode-safe bytecode-malicious bytecode*.bin seccomp-test /usr/lib/cpushare/
 	dh_install keys/cpushare_cert.pem /etc/cpushare/keys/
@@ -60,17 +61,12 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
+	dh_installchangelogs
 	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.
+	# file in plugin directories.
 	echo 'twistd --help >/dev/null 2>&1' >> debian/cpushare.postinst.debhelper
 	dh_installinit
 	dh_installman



More information about the Pkg-scicomp-commits mailing list