[Python-modules-commits] r1231 - in /packages/kiwi/trunk/debian: changelog control preinst

kov at users.alioth.debian.org kov at users.alioth.debian.org
Tue Aug 1 02:21:36 UTC 2006


Author: kov
Date: Tue Aug  1 02:21:35 2006
New Revision: 1231

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1231
Log:
fix for installation problem caused by a buggy earlier version of python-support,
it seems

Added:
    packages/kiwi/trunk/debian/preinst
Modified:
    packages/kiwi/trunk/debian/changelog
    packages/kiwi/trunk/debian/control

Modified: packages/kiwi/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/kiwi/trunk/debian/changelog?rev=1231&op=diff
==============================================================================
--- packages/kiwi/trunk/debian/changelog (original)
+++ packages/kiwi/trunk/debian/changelog Tue Aug  1 02:21:35 2006
@@ -1,3 +1,12 @@
+kiwi (1.9.8-6) UNRELEASED; urgency=low
+
+  * debian/preinst:
+  - added to handle problems in upgrade caused by -4 and earlier being
+    built with a python-support version which was buggy when handling
+    "outside" modules (Closes: #379359)
+
+ -- Gustavo Noronha Silva <kov at debian.org>  Mon, 26 Jun 2006 21:53:35 -0300
+
 kiwi (1.9.8-5) unstable; urgency=low
 
   * debian/01_python2.3_install.diff:

Modified: packages/kiwi/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/kiwi/trunk/debian/control?rev=1231&op=diff
==============================================================================
--- packages/kiwi/trunk/debian/control (original)
+++ packages/kiwi/trunk/debian/control Tue Aug  1 02:21:35 2006
@@ -11,6 +11,7 @@
 Architecture: all
 Depends: ${python:Depends}, python-gtk2 (>= 2.8.2-3.1), python-setuptools (>= 0.6b3-1)
 Enhances: gazpacho
+XB-Python-Version: ${python:Versions}
 Description: a graphical framework to construct simple UI
  Kiwi is a framework and a set of enhanced PyGTK widgets designed to
  make building programs with graphical interfaces both easy to write

Added: packages/kiwi/trunk/debian/preinst
URL: http://svn.debian.org/wsvn/python-modules/packages/kiwi/trunk/debian/preinst?rev=1231&op=file
==============================================================================
--- packages/kiwi/trunk/debian/preinst (added)
+++ packages/kiwi/trunk/debian/preinst Tue Aug  1 02:21:35 2006
@@ -1,0 +1,23 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+# handle problem caused probably by an earlier version of python-setuptools
+# which was buggy (not sure)
+case $1 in
+    install|upgrade)
+	for pyversion in 2.3 2.4 2.5; do
+	    test -d /var/lib/python-support/python${pyversion}/kiwi-1.9.8.egg-info && \
+		rm -rf /var/lib/python-support/python${pyversion}/kiwi-1.9.8.egg-info || \
+		true
+	    test -d /var/lib/python-support/python${pyversion}/kiwi && \
+		rm -rf /var/lib/python-support/python${pyversion}/kiwi || \
+		true
+	    test -L /var/lib/python-support/python${pyversion}/gazpacho/widgets/kiwiwidgets.py && \
+		rm -f /var/lib/python-support/python${pyversion}/gazpacho/widgets/kiwiwidgets.py || \
+		true
+	done
+	;;
+    *)
+	;;
+esac




More information about the Python-modules-commits mailing list