[SCM] PyKDE4 packaging branch, master, updated. debian/4.6.80-3

Modestas Vainius modax at alioth.debian.org
Fri Jul 22 09:49:08 UTC 2011


The following commit has been merged in the master branch:
commit 453fd5ddb8b713615730d9045fbdae7bb698477c
Author: Modestas Vainius <modax at debian.org>
Date:   Fri Jul 22 11:52:46 2011 +0300

    Restore compatibility with python-support based python-qt4.
    
    Solution is pretty hackish (compatibility symlinks). But it should not be
    harmful.
    
    This closes: #633499
---
 debian/changelog |    2 ++
 debian/rules     |    6 ++++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d91a38d..9f88a53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ pykde4 (4:4.6.80-3) UNRELEASED; urgency=low
     dh_python2 based python-kde4.
   * Fix GitWeb Vcs URL.
   * Move non-default python library to Suggests again.
+  * Introduce a hack to restore compatibility with python-support based
+    python-qt4. (Closes: #633499)
 
  -- Modestas Vainius <modax at debian.org>  Fri, 08 Jul 2011 00:19:29 +0300
 
diff --git a/debian/rules b/debian/rules
index 90db410..90ea905 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,12 @@ override_dh_auto_build override_dh_auto_install override_dh_auto_test override_d
 override_dh_python2:
 	$(overridden_command)
 	dh_sip -ppython-kde4
+	# Create python-support compatibility symlinks
+	set -e; for f in debian/python-kde4/usr/lib/python*/*-packages/PyQt4/uic/*.py \
+	         debian/python-kde4/usr/lib/python*/*-packages/PyQt4/uic/widget-plugins/*.py; do \
+	    d="`echo $$f | sed 's,usr/lib/\(python[^/]\+\)/dist-packages,usr/lib/pymodules/,'`"; \
+	    mkdir -p "`dirname "$$d"`"; ln -s $${f#debian/python-kde4} $$d; \
+	done
 
 override_dh_strip:
 	$(overridden_command) --dbg-package=python-kde4-dbg

-- 
PyKDE4 packaging



More information about the pkg-kde-commits mailing list