[Python-modules-commits] r12534 - in packages/python-contract/trunk/debian (changelog rules)

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Thu Apr 8 02:59:43 UTC 2010


    Date: Thursday, April 8, 2010 @ 02:59:42
  Author: kitterma-guest
Revision: 12534

  * Adjust build dir and test PYTHONPATH in debian/rules to fix FTBFS due to
    test failure when only Python 2.6 and later are supported Python versions

Modified:
  packages/python-contract/trunk/debian/changelog
  packages/python-contract/trunk/debian/rules

Modified: packages/python-contract/trunk/debian/changelog
===================================================================
--- packages/python-contract/trunk/debian/changelog	2010-04-08 02:53:03 UTC (rev 12533)
+++ packages/python-contract/trunk/debian/changelog	2010-04-08 02:59:42 UTC (rev 12534)
@@ -3,6 +3,10 @@
   [ Piotr Ożarowski ]
   * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
 
+  [ Scott Kitterman ]
+  * Adjust build dir and test PYTHONPATH in debian/rules to fix FTBFS due to
+    test failure when only Python 2.6 and later are supported Python versions
+
   [ Sandro Tosi ]
   * debian/control
     - uniforming Vcs-Browser field

Modified: packages/python-contract/trunk/debian/rules
===================================================================
--- packages/python-contract/trunk/debian/rules	2010-04-08 02:53:03 UTC (rev 12533)
+++ packages/python-contract/trunk/debian/rules	2010-04-08 02:59:42 UTC (rev 12534)
@@ -11,14 +11,14 @@
 
 	set -e; \
 	for py in $(PYVERS); do  \
-	    $$py setup.py build; \
+	    $$py setup.py build --build-lib=build-purelib; \
 	done
 
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	    for py in $(PYVERS); do  \
 	        for test in $(wildcard test/test*); do \
 		    echo running test: $$test; \
-		    PYTHONPATH=build/lib $$py $$test; \
+		    PYTHONPATH=build-purelib $$py $$test; \
 	        done; \
 	    done
 endif




More information about the Python-modules-commits mailing list