[Python-modules-commits] r7908 - in packages/pyexiv2/trunk/debian (4 files)

nijel at users.alioth.debian.org nijel at users.alioth.debian.org
Wed Mar 18 14:32:11 UTC 2009


    Date: Wednesday, March 18, 2009 @ 14:32:11
  Author: nijel
Revision: 7908

Switch from pycentral to pysupport.

Added:
  packages/pyexiv2/trunk/debian/preinst
Modified:
  packages/pyexiv2/trunk/debian/changelog
  packages/pyexiv2/trunk/debian/control
  packages/pyexiv2/trunk/debian/rules

Modified: packages/pyexiv2/trunk/debian/changelog
===================================================================
--- packages/pyexiv2/trunk/debian/changelog	2009-03-18 14:30:34 UTC (rev 7907)
+++ packages/pyexiv2/trunk/debian/changelog	2009-03-18 14:32:11 UTC (rev 7908)
@@ -11,8 +11,9 @@
   * Update debian/watch to match current downloads location.
   * Patch 02_noscript.dpatch was merged upstream.
   * Switch to boost 1.37.
+  * Switch from pycentral to pysupport.
 
- -- Michal ÄŒihaÅ™ <nijel at debian.org>  Wed, 18 Mar 2009 15:30:24 +0100
+ -- Michal ÄŒihaÅ™ <nijel at debian.org>  Wed, 18 Mar 2009 15:32:05 +0100
 
 pyexiv2 (0.1.2-4) unstable; urgency=low
 

Modified: packages/pyexiv2/trunk/debian/control
===================================================================
--- packages/pyexiv2/trunk/debian/control	2009-03-18 14:30:34 UTC (rev 7907)
+++ packages/pyexiv2/trunk/debian/control	2009-03-18 14:32:11 UTC (rev 7908)
@@ -4,7 +4,7 @@
 Maintainer: Michal ÄŒihaÅ™ <nijel at debian.org>
 Uploaders: Python Modules Packaging Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 5.0.38), 
-    python-central (>= 0.5.6), 
+    python-support (>= 0.5.3),
     python-all-dev (>= 2.3.5-11), 
     python-all-dbg, 
     scons, 

Added: packages/pyexiv2/trunk/debian/preinst
===================================================================
--- packages/pyexiv2/trunk/debian/preinst	                        (rev 0)
+++ packages/pyexiv2/trunk/debian/preinst	2009-03-18 14:32:11 UTC (rev 7908)
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+# Switch from pycentral to pysupport
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.1.3-1 ; then
+    pycentral pkgremove python-pyexiv2
+fi
+
+#DEBHELPER#
+
+exit 0


Property changes on: packages/pyexiv2/trunk/debian/preinst
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/pyexiv2/trunk/debian/rules
===================================================================
--- packages/pyexiv2/trunk/debian/rules	2009-03-18 14:30:34 UTC (rev 7907)
+++ packages/pyexiv2/trunk/debian/rules	2009-03-18 14:32:11 UTC (rev 7908)
@@ -56,7 +56,7 @@
 	dh_installchangelogs ChangeLog
 	dh_installdocs
 	dh_installexamples
-	dh_pycentral
+	dh_pysupport
 	dh_link
 	dh_strip
 	dh_compress




More information about the Python-modules-commits mailing list