[Python-modules-commits] r11366 - in packages/pyopenssl/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Wed Jan 27 18:49:42 UTC 2010


    Date: Wednesday, January 27, 2010 @ 18:49:41
  Author: morph
Revision: 11366

* debian/rules
  - Python 2.6 has changed the build directory layout when building with a
    debug interpreter, hence adjusting the location used to run tests; thanks
    to Jakub Wilk for alerting on IRC

Modified:
  packages/pyopenssl/trunk/debian/changelog
  packages/pyopenssl/trunk/debian/rules

Modified: packages/pyopenssl/trunk/debian/changelog
===================================================================
--- packages/pyopenssl/trunk/debian/changelog	2010-01-27 17:35:51 UTC (rev 11365)
+++ packages/pyopenssl/trunk/debian/changelog	2010-01-27 18:49:41 UTC (rev 11366)
@@ -9,8 +9,12 @@
   * debian/copyright
     - extended Debian packaging copyright notice
     - added copyright notice for new file 'test/test_rand.py'
+  * debian/rules
+    - Python 2.6 has changed the build directory layout when building with a
+      debug interpreter, hence adjusting the location used to run tests; thanks
+      to Jakub Wilk for alerting on IRC
 
- -- Sandro Tosi <morph at debian.org>  Tue, 26 Jan 2010 22:30:05 +0100
+ -- Sandro Tosi <morph at debian.org>  Wed, 27 Jan 2010 19:46:58 +0100
 
 pyopenssl (0.9-1) unstable; urgency=low
 

Modified: packages/pyopenssl/trunk/debian/rules
===================================================================
--- packages/pyopenssl/trunk/debian/rules	2010-01-27 17:35:51 UTC (rev 11365)
+++ packages/pyopenssl/trunk/debian/rules	2010-01-27 18:49:41 UTC (rev 11366)
@@ -22,7 +22,7 @@
 	    for test in test/test*; do \
 	        echo "running $$test for python$$py ..."; \
 	        PYTHONPATH=build/lib.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$$py python$$py $$test; \
-	        PYTHONPATH=build/lib_d.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$$py python$$py-dbg $$test; \
+	        PYTHONPATH=`ls -d build/lib_d.*-$$py || ls -d build/lib.*-$$py-pydebug` python$$py-dbg $$test; \
 	    done; \
 	done
      




More information about the Python-modules-commits mailing list