Package: creoleparser
Version: 0.7.2-3
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: origin-ubuntu maverick ubuntu-patch
In debian/rules line:
PYTHONPATH=$(CURDIR)/build/lib $$py
$(CURDIR)/build/lib/creoleparser/__init__.py;
assumes that the build is in build/lib directory, but
distutils.core.setup builds in build/lib-$PLAT directory that prevents
the build.
*** /tmp/tmpgBVHk7
In Ubuntu, we've applied the attached patch to achieve the following:
* [FTBFS] debian/rules: changed build dir from lib-$PLAT to lib
(LP: #616540)
We thought you might be interested in doing the same.
diff -u creoleparser-0.7.2/debian/changelog creoleparser-0.7.2/debian/changelog
diff -u creoleparser-0.7.2/debian/rules creoleparser-0.7.2/debian/rules
--- creoleparser-0.7.2/debian/rules
+++ creoleparser-0.7.2/debian/rules
@@ -15,7 +15,7 @@
set -e; \
for py in $(PYVERS); do \
- $$py setup.py build; \
+ $$py setup.py build --build-lib=build/lib; \
done
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team