[Python-apps-commits] r3885 - in packages/pyflakes/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Oct 2 19:14:09 UTC 2009


    Date: Friday, October 2, 2009 @ 19:14:08
  Author: morph
Revision: 3885

* debian/{control, rule, pyflakes.preinst}
  - migrated from python-central to python-support

Added:
  packages/pyflakes/trunk/debian/pyflakes.preinst
Modified:
  packages/pyflakes/trunk/debian/changelog
  packages/pyflakes/trunk/debian/control
  packages/pyflakes/trunk/debian/rules

Modified: packages/pyflakes/trunk/debian/changelog
===================================================================
--- packages/pyflakes/trunk/debian/changelog	2009-10-02 18:49:38 UTC (rev 3884)
+++ packages/pyflakes/trunk/debian/changelog	2009-10-02 19:14:08 UTC (rev 3885)
@@ -2,8 +2,10 @@
 
   * debian/control
     - bump Standards-Version to 3.8.3 (no changes needed)
+  * debian/{control, rule, pyflakes.preinst}
+    - migrated from python-central to python-support
 
- -- Sandro Tosi <morph at debian.org>  Fri, 02 Oct 2009 20:48:31 +0200
+ -- Sandro Tosi <morph at debian.org>  Fri, 02 Oct 2009 21:06:19 +0200
 
 pyflakes (0.3.0-1) unstable; urgency=low
 

Modified: packages/pyflakes/trunk/debian/control
===================================================================
--- packages/pyflakes/trunk/debian/control	2009-10-02 18:49:38 UTC (rev 3884)
+++ packages/pyflakes/trunk/debian/control	2009-10-02 19:14:08 UTC (rev 3885)
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Uploaders: Tristan Seligmann <mithrandi at mithrandi.net>, Varun Hiremath <varun at debian.org>, Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 7), python-central (>= 0.6), python, quilt
-XS-Python-Version: current
+Build-Depends: debhelper (>= 7), python-support (>= 1.0.0), python, quilt
+XS-Python-Version: 2.5
 Standards-Version: 3.8.3
 Homepage: http://divmod.org/trac/wiki/DivmodPyflakes
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/pyflakes/trunk/

Added: packages/pyflakes/trunk/debian/pyflakes.preinst
===================================================================
--- packages/pyflakes/trunk/debian/pyflakes.preinst	                        (rev 0)
+++ packages/pyflakes/trunk/debian/pyflakes.preinst	2009-10-02 19:14:08 UTC (rev 3885)
@@ -0,0 +1,19 @@
+#!/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 0.3.0-2 ; then
+	   if [ -x $PYCENTRAL ]; then
+               # explicitly remove old python-central files
+               pycentral pkgremove pyflakes
+	   fi
+	   # be really sure also removing left-over files and dirs
+	   rm -rf /usr/lib/python2.5/site-packages/pyflakes*
+       fi
+fi
+
+#DEBHELPER#

Modified: packages/pyflakes/trunk/debian/rules
===================================================================
--- packages/pyflakes/trunk/debian/rules	2009-10-02 18:49:38 UTC (rev 3884)
+++ packages/pyflakes/trunk/debian/rules	2009-10-02 19:14:08 UTC (rev 3885)
@@ -3,7 +3,7 @@
 
 # Build instructions
 %:
-	dh $@ --with python_central
+	dh $@
 
 # Dependency information
 build: patch




More information about the Python-apps-commits mailing list