[Python-modules-commits] r8593 - in packages/matplotlib/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Thu May 28 14:13:01 UTC 2009


    Date: Thursday, May 28, 2009 @ 14:13:00
  Author: morph
Revision: 8593

* debian/{control, rules, python-matplotlib.preinst}
  - switch to python-support (adding preinst for the migration)

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

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2009-05-28 08:55:01 UTC (rev 8592)
+++ packages/matplotlib/trunk/debian/changelog	2009-05-28 14:13:00 UTC (rev 8593)
@@ -33,8 +33,10 @@
         . license embedded in the documentation, will break links if removed
       + font-in-non-font-package
         . we ship fonts, so no need to warning for this
+  * debian/{control, rules, python-matplotlib.preinst}
+    - switch to python-support (adding preinst for the migration)
 
- -- Sandro Tosi <morph at debian.org>  Thu, 28 May 2009 08:51:53 +0200
+ -- Sandro Tosi <morph at debian.org>  Thu, 28 May 2009 16:10:19 +0200
 
 matplotlib (0.98.5.2-1) experimental; urgency=low
 

Modified: packages/matplotlib/trunk/debian/control
===================================================================
--- packages/matplotlib/trunk/debian/control	2009-05-28 08:55:01 UTC (rev 8592)
+++ packages/matplotlib/trunk/debian/control	2009-05-28 14:13:00 UTC (rev 8593)
@@ -17,7 +17,6 @@
                libpng-dev,
                python-all-dev (>= 2.3.5-7),
                python-all-dbg (>= 2.4.4-6),
-               python-central (>= 0.5.6),
                python-configobj,
                python-dateutil,
                python-epydoc,
@@ -30,6 +29,7 @@
                python-qt4-dev,
                python-setuptools,
                python-sphinx (>= 0.5.1),
+               python-support (>= 1.0.0),
                python-tk,
                python-traits (>= 2.0),
                python-tz,

Added: packages/matplotlib/trunk/debian/python-matplotlib.preinst
===================================================================
--- packages/matplotlib/trunk/debian/python-matplotlib.preinst	                        (rev 0)
+++ packages/matplotlib/trunk/debian/python-matplotlib.preinst	2009-05-28 14:13:00 UTC (rev 8593)
@@ -0,0 +1,11 @@
+#!/bin/sh
+# TODO: remove this file after releasing Squeeze
+set -e
+if [ "$1" = upgrade ]
+then
+       if dpkg --compare-versions "$2" lt 0.98.5.3-1 ; then
+               pycentral pkgremove python-matplotlib
+       fi
+fi
+
+#DEBHELPER#

Modified: packages/matplotlib/trunk/debian/rules
===================================================================
--- packages/matplotlib/trunk/debian/rules	2009-05-28 08:55:01 UTC (rev 8592)
+++ packages/matplotlib/trunk/debian/rules	2009-05-28 14:13:00 UTC (rev 8593)
@@ -134,7 +134,7 @@
 			echo "made executable: $$i"; \
 		fi; \
 	done
-	dh_pycentral -a
+	dh_pysupport -a
 	dh_link -a
 	dh_lintian -a
 	dh_strip -a --dbg-package=$(pdbg)




More information about the Python-modules-commits mailing list