tags 306112 patch
thanks

Hello, I am sanxiyn that Nils mentioned in the bug report. I found that
the offending code is autogenerated by pyuic, and rebuilding with recent
pyuic fixes the problem.

Patch attached.
diff -u kodos-2.4.5/debian/changelog kodos-2.4.5/debian/changelog
--- kodos-2.4.5/debian/changelog
+++ kodos-2.4.5/debian/changelog
@@ -1,3 +1,9 @@
+kodos (2.4.5-3) unstable; urgency=low
+
+  * Rebuild with recent pyuic (closes: #306112).
+
+ -- Seo Sanghyeon <[EMAIL PROTECTED]>  Sun, 24 Apr 2005 20:52:06 +0900
+
 kodos (2.4.5-2) unstable; urgency=low
 
   * Fix python dependency (closes: #277053).
diff -u kodos-2.4.5/debian/control kodos-2.4.5/debian/control
--- kodos-2.4.5/debian/control
+++ kodos-2.4.5/debian/control
@@ -2,12 +2,12 @@
 Section: python
 Priority: optional
 Maintainer: Matthias Klose <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>= 4.1.67), python-dev (>= 2.3), python-dev 
(<< 2.4)
+Build-Depends-Indep: debhelper (>= 4.1.67), python-dev (>= 2.3), python-dev 
(<< 2.4), pyqt-tools (>= 3.14)
 Standards-Version: 3.6.1
 
 Package: kodos
 Architecture: all
-Depends: ${python:Depends}, python-qt3, python-dev
+Depends: ${python:Depends}, python-qt3 (>= 3.14), python-dev
 Description: A visual regular expression editor
  Kodos is an application to aid in the creation and debugging of
  regular expressions in python. The GUI for Kodos should eliminate the
diff -u kodos-2.4.5/debian/rules kodos-2.4.5/debian/rules
--- kodos-2.4.5/debian/rules
+++ kodos-2.4.5/debian/rules
@@ -23,6 +23,8 @@
 build: build-stamp
 build-stamp:
        dh_testdir
+       cp -a modules modules.old
+       for f in modules/*.ui; do pyuic $$f > $${f/ui/py}; done
        python setup.py build
        touch build-stamp
 
@@ -32,6 +34,7 @@
        rm -f build-stamp
        rm -rf build
        -find . -name '*.py[co]' | xargs rm -f
+       if [ -d modules.old ]; then rm -rf modules; mv modules.old modules; fi
        dh_clean 
 
 install: build

Reply via email to