[Python-modules-commits] r22565 - in packages/python-graph/trunk/debian (3 files)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sat Aug 25 19:51:45 UTC 2012
Date: Saturday, August 25, 2012 @ 19:51:44
Author: morph
Revision: 22565
* debian/patches/30_pass_python_to_makefile.patch
- pass the python interpreter when running tests
Added:
packages/python-graph/trunk/debian/patches/30_pass_python_to_makefile.patch
Modified:
packages/python-graph/trunk/debian/changelog
packages/python-graph/trunk/debian/patches/series
Modified: packages/python-graph/trunk/debian/changelog
===================================================================
--- packages/python-graph/trunk/debian/changelog 2012-08-25 16:00:43 UTC (rev 22564)
+++ packages/python-graph/trunk/debian/changelog 2012-08-25 19:51:44 UTC (rev 22565)
@@ -9,8 +9,10 @@
- bump Standards-Version to 3.9.3 (no changes needed)
* debian/rules
- run tests in the right target, honoring 'nocheck'
+ * debian/patches/30_pass_python_to_makefile.patch
+ - pass the python interpreter when running tests
- -- Sandro Tosi <morph at debian.org> Sat, 25 Aug 2012 17:59:54 +0200
+ -- Sandro Tosi <morph at debian.org> Sat, 25 Aug 2012 21:50:56 +0200
python-graph (1.8.1-1) unstable; urgency=low
Added: packages/python-graph/trunk/debian/patches/30_pass_python_to_makefile.patch
===================================================================
--- packages/python-graph/trunk/debian/patches/30_pass_python_to_makefile.patch (rev 0)
+++ packages/python-graph/trunk/debian/patches/30_pass_python_to_makefile.patch 2012-08-25 19:51:44 UTC (rev 22565)
@@ -0,0 +1,28 @@
+Description: Pass the wanted python interpreted when running tests
+Author: Sandro Tosi <morph at debian.org>
+Forwarded: http://code.google.com/p/python-graph/issues/detail?id=110
+
+--- a/Makefile
++++ b/Makefile
+@@ -10,6 +10,8 @@ TESTS_DIR="tests/"
+ DOCS_DIR="docs/"
+ TEMP="temp/"
+ PYTHONPATH="`pwd`/core:`pwd`/dot"
++PYTHON=python
++PYTHON3=python3
+
+
+ # General ------------------------------------------------------------
+@@ -64,10 +66,10 @@ docs: cleanpyc
+ # Tests --------------------------------------------------------------
+
+ test:
+- export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && python testrunner.py
++ export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && ${PYTHON} testrunner.py
+
+ test3:
+- export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && python3 testrunner.py
++ export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && ${PYTHON3} testrunner.py
+
+ tests: test
+
Modified: packages/python-graph/trunk/debian/patches/series
===================================================================
--- packages/python-graph/trunk/debian/patches/series 2012-08-25 16:00:43 UTC (rev 22564)
+++ packages/python-graph/trunk/debian/patches/series 2012-08-25 19:51:44 UTC (rev 22565)
@@ -1 +1,2 @@
20_remove_reset.patch
+30_pass_python_to_makefile.patch
More information about the Python-modules-commits
mailing list