Package: quantlib-swig
Version: 0.9.7-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch
*** /tmp/tmpN5OJJA
In Ubuntu, we've applied the attached patch to achieve the following:
* Pass argument --install-layout=deb to setup.py.
This aids in the upcoming transition to python2.6 and avoids having files
installed to the wrong location. Former python versions simply ignore the
argument so it can be safely applied. Thanks for consideration.
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic
APT policy: (500, 'karmic')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-8-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u quantlib-swig-0.9.7/debian/rules quantlib-swig-0.9.7/debian/rules
--- quantlib-swig-0.9.7/debian/rules
+++ quantlib-swig-0.9.7/debian/rules
@@ -133,7 +133,7 @@
#$(MAKE) install PREFIX=$(debtmp)/usr
(cd Python && \
$(PYTHON) setup.py \
- install --prefix=$(pydeb)/usr )
+ install --prefix=$(pydeb)/usr --install-layout=deb )
# edd 2005-Apr-14 copy swig file manually instead
cp -vax SWIG/* $(pydeb)/usr/share/$(pypackage)/
rm -fv Python/test/*.pyc