Source: python-contract
Version: 1.4-2
Severity: important
User: [email protected]
Usertags: python2.5-removal
Tags: patch wheezy sid

Default build directory for Python >= 2.6 is no longer build/lib. However, this path is currently hard-coded in debian/rules. As a consequence, the package will fail to build from source once python2.5 is removed from the set of supported versions.

The attached patch fixes this bug.

--
Jakub Wilk
diff -u python-contract-1.4/debian/rules python-contract-1.4/debian/rules
--- python-contract-1.4/debian/rules
+++ python-contract-1.4/debian/rules
@@ -18,7 +18,7 @@
 	    for py in $(PYVERS); do  \
 	        for test in $(wildcard test/test*); do \
 		    echo running test: $$test; \
-		    PYTHONPATH=build/lib $$py $$test; \
+		    PYTHONPATH=. $$py $$test; \
 	        done; \
 	    done
 endif
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to