rev 13569 - branches/kde4.2/packages/kdebindings/debian

Sune Vuorela pusling-guest at alioth.debian.org
Mon Jan 26 09:12:25 UTC 2009


Author: pusling-guest
Date: 2009-01-26 09:12:25 +0000 (Mon, 26 Jan 2009)
New Revision: 13569

Added:
   branches/kde4.2/packages/kdebindings/debian/python-kde4.postinst
Modified:
   branches/kde4.2/packages/kdebindings/debian/changelog
Log:
Create postinst to work around pycentral issues.

Modified: branches/kde4.2/packages/kdebindings/debian/changelog
===================================================================
--- branches/kde4.2/packages/kdebindings/debian/changelog	2009-01-26 00:57:02 UTC (rev 13568)
+++ branches/kde4.2/packages/kdebindings/debian/changelog	2009-01-26 09:12:25 UTC (rev 13569)
@@ -2,10 +2,6 @@
 
   * New upstream release.
 
-  * TODO: there are files missing. Check.
-  * TODO: clean up after python-central in postinst (#479852).
-    - rm -rf /usr/lib/python2.*/site-packages/PyKDE4/
-
   +++ Changes by Modestas Vainius:
 
   * Resync patches:
@@ -51,8 +47,6 @@
   * Use simplier approach for debian/rules binary-* target handling.
   * Run dh_installdirs in install-pre target to make mono helpers more silent.
 
-  !! DISCLAIMER !! Changes below are sort of "not really sure what I was doing".
-
   * Add patches:
     - 06_build_smokephonon.diff - much smoke stuff needs phononsmoke, but that
       one was disabled because it didn't build. Reenable it and hack around its
@@ -81,6 +75,7 @@
   +++ Changes by Sune Vuorela:
 
   * Small copyright file updates.
+  * Create postinst to work around pycentral issues.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 16 Jan 2009 21:20:56 +0200
 

Added: branches/kde4.2/packages/kdebindings/debian/python-kde4.postinst
===================================================================
--- branches/kde4.2/packages/kdebindings/debian/python-kde4.postinst	                        (rev 0)
+++ branches/kde4.2/packages/kdebindings/debian/python-kde4.postinst	2009-01-26 09:12:25 UTC (rev 13569)
@@ -0,0 +1,10 @@
+#! /bin/sh
+## python-central does not clean up after itself, so we have to do it. 
+## http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479852
+
+if dpkg --compare-versions "$2" lt-nl "4:4.2.0"
+then
+	rm -rf /usr/lib/python2.*/site-packages/PyKDE4/
+fi
+
+#DEBHELPER#




More information about the pkg-kde-commits mailing list