Package: pythoncard Version: 0.8.1-8.4 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu lucid ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following: * debian/pythoncard-doc.install, debian/python-pythoncard.install: use wildcards instead of site-packages to fix build with python 2.6. We thought you might be interested in doing the same. With python 2.6 as the default, pythoncard fails to build because the files are in dist-packages and dh_install expects them to be in site-packages. From the Ubuntu Lucid rebuild test: dh_install --list-missing --sourcedir debian/tmp dh_install: pythoncard-doc missing files (usr/lib/python*/site-packages/PythonCard/docs/*), aborting make: *** [binary-indep] Error 2 http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/pythoncard_0.8.1-8.1ubuntu1_llucid32.buildlog -- System Information: Debian Release: squeeze/sid APT prefers lucid APT policy: (500, 'lucid') Architecture: i386 (i686) Kernel: Linux 2.6.31-20-generic (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
diff -u pythoncard-0.8.1/debian/pythoncard-doc.install pythoncard-0.8.1/debian/pythoncard-doc.install --- pythoncard-0.8.1/debian/pythoncard-doc.install +++ pythoncard-0.8.1/debian/pythoncard-doc.install @@ -1,3 +1,3 @@ -usr/lib/python*/site-packages/PythonCard/docs/* usr/share/doc/pythoncard-doc -usr/lib/python*/site-packages/PythonCard/README_StyleEditor.txt usr/share/doc/pythoncard-doc -usr/lib/python*/site-packages/PythonCard/samples usr/share/doc/pythoncard-doc +usr/lib/python*/*-packages/PythonCard/docs/* usr/share/doc/pythoncard-doc +usr/lib/python*/*-packages/PythonCard/README_StyleEditor.txt usr/share/doc/pythoncard-doc +usr/lib/python*/*-packages/PythonCard/samples usr/share/doc/pythoncard-doc diff -u pythoncard-0.8.1/debian/python-pythoncard.install pythoncard-0.8.1/debian/python-pythoncard.install --- pythoncard-0.8.1/debian/python-pythoncard.install +++ pythoncard-0.8.1/debian/python-pythoncard.install @@ -1,6 +1,6 @@ -usr/lib/python*/site-packages/PythonCard/pythoncard_config.txt usr/share/pythoncard -usr/lib/python*/site-packages/PythonCard/stc-styles.cfg usr/share/pythoncard -usr/lib/python*/site-packages/PythonCard/components -usr/lib/python*/site-packages/PythonCard/templates -usr/lib/python*/site-packages/PythonCard/tools -usr/lib/python*/site-packages/PythonCard/*.py +usr/lib/python*/*-packages/PythonCard/pythoncard_config.txt usr/share/pythoncard +usr/lib/python*/*-packages/PythonCard/stc-styles.cfg usr/share/pythoncard +usr/lib/python*/*-packages/PythonCard/components +usr/lib/python*/*-packages/PythonCard/templates +usr/lib/python*/*-packages/PythonCard/tools +usr/lib/python*/*-packages/PythonCard/*.py