tag 663567 + patch
thanks

On Mon, 12 Mar 2012 12:08:09 +0100, Moritz Muehlenhoff wrote:

> make[1]: Leaving directory `/home/jmm/wxglade-0.6.5'
>    dh_auto_test
> make[1]: Entering directory `/home/jmm/wxglade-0.6.5'
> Traceback (most recent call last):
>   File "./test.py", line 48, in <module>
>     run_tests()
>   File "./test.py", line 32, in run_tests
>     module = imp.load_module(module_name, fp, path, info)
>   File "./tests/test_codegen.py", line 12, in <module>
>     from xml_parse import CodeWriter
>   File "/home/jmm/wxglade-0.6.5/xml_parse.py", line 31, in <module>
>     import wx
> ImportError: No module named wx
> make[1]: *** [test] Error 1
> make[1]: Leaving directory `/home/jmm/wxglade-0.6.5'
> dh_auto_test: make -j1 test returned exit code 2
> make: *** [build] Error 29
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

The attached patch makes the package build (and fixes a lintian
error), but the output of the test suite doesn't like very
convincing:

#v+
   dh_auto_test
make[1]: Entering directory `/tmp/buildd/wxglade-0.6.5'
test_CPP_wxCalendarCtrl (test_codegen.TestCodeGen)
Test CPP code generation with a small wxCalendarCtrl example ... FAIL
test_Lisp_quote_path (test_codegen.TestCodeGen)
Test codegen.lisp_codegen.quote_path() ... ok
test_Lisp_wxBitmapButton (test_codegen.TestCodeGen)
Test Lisp code generation with small wxBitmapButton example ... FAIL

======================================================================
FAIL: test_CPP_wxCalendarCtrl (test_codegen.TestCodeGen)
Test CPP code generation with a small wxCalendarCtrl example
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./tests/test_codegen.py", line 99, in test_CPP_wxCalendarCtrl
    source     = self.loadFile('CPP_wxCalendarCtrl', '.wxg')
  File "/tmp/buildd/wxglade-0.6.5/tests/__init__.py", line 127, in loadFile
    'No %s file for case "%s" found!' % (filetype, casename)
AssertionError: No input file for case "CPP_wxCalendarCtrl" found!

======================================================================
FAIL: test_Lisp_wxBitmapButton (test_codegen.TestCodeGen)
Test Lisp code generation with small wxBitmapButton example
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./tests/test_codegen.py", line 76, in test_Lisp_wxBitmapButton
    source = self.loadFile('Lisp_wxBitmapButton', '.wxg')
  File "/tmp/buildd/wxglade-0.6.5/tests/__init__.py", line 127, in loadFile
    'No %s file for case "%s" found!' % (filetype, casename)
AssertionError: No input file for case "Lisp_wxBitmapButton" found!

----------------------------------------------------------------------
Ran 3 tests in 0.102s

FAILED (failures=2)
make[1]: Leaving directory `/tmp/buildd/wxglade-0.6.5'
#v-


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Don Garner & Dee Dee Ford: I Need Your Lovin'
diff -Nru wxglade-0.6.5/debian/changelog wxglade-0.6.5/debian/changelog
--- wxglade-0.6.5/debian/changelog	2012-01-16 01:25:28.000000000 +0100
+++ wxglade-0.6.5/debian/changelog	2012-03-26 17:13:17.000000000 +0200
@@ -1,3 +1,14 @@
+wxglade (0.6.5-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: ImportError: No module named wx": add python-wxgtk2.8 to
+    Build-Depends-Indep. (Closes: #663567)
+  * Use python (>= 2.6.6-3~) instead of python-support in Build-Depends, and
+    remove XB-Python-Version; this packages uses "--with python2" since
+    0.6.4-2. (lintian error).
+
+ -- gregor herrmann <[email protected]>  Mon, 26 Mar 2012 16:54:18 +0200
+
 wxglade (0.6.5-1) unstable; urgency=low
 
   * upgraded to the newest version
diff -Nru wxglade-0.6.5/debian/control wxglade-0.6.5/debian/control
--- wxglade-0.6.5/debian/control	2011-11-05 19:28:09.000000000 +0100
+++ wxglade-0.6.5/debian/control	2012-03-26 17:09:13.000000000 +0200
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Georges Khaznadar <[email protected]>
 Uploaders: Matthias Klose <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), python-support
-Build-Depends-Indep: docbook, docbook-xsl, xsltproc, xmltex, xmlto, dblatex
+Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~)
+Build-Depends-Indep: docbook, docbook-xsl, xsltproc, xmltex, xmlto, dblatex, python-wxgtk2.8
 XS-Python-Version: all
 Standards-Version: 3.9.2
 
@@ -12,7 +12,6 @@
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python-wxgtk2.8
 Conflicts:  libwxgtk2.4-python
-XB-Python-Version: ${python:Versions}
 Description:  GUI designer written in Python with wxPython
  wxGlade is a GUI designer written in Python with the popular GUI toolkit
  wxPython, that helps you create wxWidgets/wxPython user interfaces.

Attachment: signature.asc
Description: Digital signature

Reply via email to