[Python-modules-commits] r9298 - in packages/python-multiprocessing/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Mon Aug 10 21:19:57 UTC 2009


    Date: Monday, August 10, 2009 @ 21:19:56
  Author: morph
Revision: 9298

* New upstream release
* debian/control
  - bump Standards-Version to 3.8.2 (no changes needed)
  - moved python-multiprocessing-dbg to section 'debug'
* debian/{control, rules, python-multiprocessing.preinst}
  - switch from python-central to python-support

Added:
  packages/python-multiprocessing/trunk/debian/python-multiprocessing.preinst
Modified:
  packages/python-multiprocessing/trunk/debian/changelog
  packages/python-multiprocessing/trunk/debian/control
  packages/python-multiprocessing/trunk/debian/rules

Modified: packages/python-multiprocessing/trunk/debian/changelog
===================================================================
--- packages/python-multiprocessing/trunk/debian/changelog	2009-08-10 20:46:48 UTC (rev 9297)
+++ packages/python-multiprocessing/trunk/debian/changelog	2009-08-10 21:19:56 UTC (rev 9298)
@@ -1,3 +1,14 @@
+python-multiprocessing (2.6.2.1-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * debian/control
+    - bump Standards-Version to 3.8.2 (no changes needed)
+    - moved python-multiprocessing-dbg to section 'debug'
+  * debian/{control, rules, python-multiprocessing.preinst}
+    - switch from python-central to python-support
+
+ -- Sandro Tosi <morph at debian.org>  Mon, 10 Aug 2009 23:15:09 +0200
+
 python-multiprocessing (2.6.1.1-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/python-multiprocessing/trunk/debian/control
===================================================================
--- packages/python-multiprocessing/trunk/debian/control	2009-08-10 20:46:48 UTC (rev 9297)
+++ packages/python-multiprocessing/trunk/debian/control	2009-08-10 21:19:56 UTC (rev 9298)
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 7), python-all-dev, python-all-dbg, python-central (>= 0.5.6), python-ctypes, python-sphinx (>= 0.5), python-setuptools (>= 0.6c8)
-Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 7), python-all-dev, python-all-dbg, python-support (>= 1), python-ctypes, python-sphinx (>= 0.5), python-setuptools (>= 0.6c8)
+Standards-Version: 3.8.2
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-multiprocessing/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-multiprocessing/trunk/
 Homepage: http://code.google.com/p/python-multiprocessing/
@@ -30,6 +30,7 @@
 
 Package: python-multiprocessing-dbg
 Priority: extra
+Section: debug
 Architecture: any
 Depends: python-multiprocessing (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, python-all-dbg
 Description: process-based "threading" interface (debug extension)

Added: packages/python-multiprocessing/trunk/debian/python-multiprocessing.preinst
===================================================================
--- packages/python-multiprocessing/trunk/debian/python-multiprocessing.preinst	                        (rev 0)
+++ packages/python-multiprocessing/trunk/debian/python-multiprocessing.preinst	2009-08-10 21:19:56 UTC (rev 9298)
@@ -0,0 +1,24 @@
+#!/bin/sh
+# TODO: remove this file after releasing Squeeze
+set -e
+
+PYCENTRAL=/usr/bin/pycentral
+
+if [ "$1" = upgrade ]
+then
+       if dpkg --compare-versions "$2" lt 2.6.2.1-1 ; then
+	   if [ -x $PYCENTRAL ]; then
+               # explicitly remove old python-central files
+               pycentral pkgremove python-multiprocessing
+	   fi
+	   # be really sure also removing left-over files and dirs
+	   for pyversion in 2.4 2.5; do
+                if [ -d /usr/lib/python$pyversion/site-packages/multiprocessing/ ]; then
+                    rm -f /usr/lib/python$pyversion/site-packages/multiprocessing/*
+                    rmdir --ignore-fail-on-non-empty /usr/lib/python$pyversion/site-packages/multiprocessing/
+                fi
+            done
+       fi
+fi
+
+#DEBHELPER#

Modified: packages/python-multiprocessing/trunk/debian/rules
===================================================================
--- packages/python-multiprocessing/trunk/debian/rules	2009-08-10 20:46:48 UTC (rev 9297)
+++ packages/python-multiprocessing/trunk/debian/rules	2009-08-10 21:19:56 UTC (rev 9298)
@@ -76,7 +76,7 @@
 	ln -sf /usr/share/javascript/jquery/jquery.js \
 	        $(CURDIR)/debian/python-multiprocessing/usr/share/doc/python-multiprocessing/html/_static/jquery.js
 	dh_link	
-	dh_pycentral
+	dh_pysupport
 	dh_strip		-ppython-multiprocessing --dbg-package=python-multiprocessing-dbg
 	dh_compress		-X.py -X.js
 	dh_fixperms




More information about the Python-modules-commits mailing list