Bug#592286: python-kde4-dev doesn't actually contain pykdeuic4

2010-08-09 Thread Felix Geyer
retitle 592286 python-kde4-dev needs to depend on python-kde4
thanks

Turns out that applications using PyKDE4 need those uic files at runtime.
So instead python-kde4-dev should just depend on python-kde4 to keep the
symlink always valid.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#592286: python-kde4-dev doesn't actually contain pykdeuic4

2010-08-08 Thread Felix Geyer
Package: python-kde4-dev
Version: 4:4.4.5-1
Severity: important
Tags: patch

python-kde4-dev doesn't actually contain pykdeuic4.
/usr/bin/pykdeuic4 is a symlink to
/usr/share/pyshared/PyQt4/uic/pykdeuic4.py
which is part of python-kde4.

I propose that /usr/share/pyshared/PyQt4/uic/pykdeuic4.py and
/usr/share/pyshared/PyQt4/uic/widget-plugins/kde4.py is moved to
python-kde4-dev.
Also python-kde4-dev needs to depend on python-kde4 as pykdeuic4.py
requires it.

diff -Nru kdebindings-4.4.5/debian/changelog kdebindings-4.4.5/debian/changelog
--- kdebindings-4.4.5/debian/changelog  2010-08-07 09:04:07.0 +0200
+++ kdebindings-4.4.5/debian/changelog  2010-08-09 00:02:32.0 +0200
@@ -1,3 +1,10 @@
+kdebindings (4:4.4.5-3) UNRELEASED; urgency=low
+
+  * Move pykdeuic4 files to python-kde4-dev and make python-kde4-dev
+depend on python-kde4. (Closes: #XXX)
+
+ -- Felix Geyer debfx-...@fobos.de  Sun, 08 Aug 2010 22:45:34 +0200
+
 kdebindings (4:4.4.5-2) unstable; urgency=medium
 
   [ Modestas Vainius ]
diff -Nru kdebindings-4.4.5/debian/control kdebindings-4.4.5/debian/control
--- kdebindings-4.4.5/debian/control2010-08-06 23:59:13.0 +0200
+++ kdebindings-4.4.5/debian/control2010-08-08 23:24:18.0 +0200
@@ -739,9 +739,10 @@
 Section: python
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Depends: ${python:Depends}, python-qt4 (= 4.4.4), ${misc:Depends}
-Recommends: python-kde4
-Breaks: python-kde4 ( ${source:Version})
+Depends: ${python:Depends}, ${misc:Depends},
+ python-qt4 (= 4.4.4), python-kde4 (= ${source:Version})
+Replaces: python-kde4 ( 4:4.4.5-3)
+Breaks: python-kde4 ( 4:4.4.5-3)
 Description: UIC compiler and SIP files for PyKDE
  This package contains pykdeuic4, a wrapper around PyQt's own UIC (user
  interface compiler). It is needed to generate code from Qt Designer's
diff -Nru kdebindings-4.4.5/debian/python-kde4-dev.install 
kdebindings-4.4.5/debian/python-kde4-dev.install
--- kdebindings-4.4.5/debian/python-kde4-dev.install2010-08-06 
23:59:13.0 +0200
+++ kdebindings-4.4.5/debian/python-kde4-dev.install2010-08-08 
22:43:08.0 +0200
@@ -1,2 +1,4 @@
 usr/bin/pykdeuic4
+usr/lib/python*/*-packages/PyQt4/uic/pykdeuic4.py
+usr/lib/python*/*-packages/PyQt4/uic/widget-plugins/kde4.py
 usr/share/sip/PyKDE4
diff -Nru kdebindings-4.4.5/debian/python-kde4.install 
kdebindings-4.4.5/debian/python-kde4.install
--- kdebindings-4.4.5/debian/python-kde4.install2010-08-06 
23:59:13.0 +0200
+++ kdebindings-4.4.5/debian/python-kde4.install2010-08-08 
22:43:11.0 +0200
@@ -2,5 +2,3 @@
 usr/lib/python*/*-packages/PyKDE4/*.so
 usr/lib/python*/*-packages/PyKDE4/__init__.py
 usr/lib/python*/*-packages/PyKDE4/pykdeconfig.py
-usr/lib/python*/*-packages/PyQt4/uic/pykdeuic4.py
-usr/lib/python*/*-packages/PyQt4/uic/widget-plugins/kde4.py