[Python-modules-commits] r32689 - in packages/django-nose/trunk/debian/patches (runtests.patch)
fladi-guest at users.alioth.debian.org
fladi-guest at users.alioth.debian.org
Tue May 19 07:09:47 UTC 2015
Date: Tuesday, May 19, 2015 @ 07:09:46
Author: fladi-guest
Revision: 32689
Use correct python version to determine tests to run.
Modified:
packages/django-nose/trunk/debian/patches/runtests.patch
Modified: packages/django-nose/trunk/debian/patches/runtests.patch
===================================================================
--- packages/django-nose/trunk/debian/patches/runtests.patch 2015-05-19 06:52:05 UTC (rev 32688)
+++ packages/django-nose/trunk/debian/patches/runtests.patch 2015-05-19 07:09:46 UTC (rev 32689)
@@ -11,8 +11,8 @@
Index: django-nose/runtests.sh
===================================================================
--- django-nose.orig/runtests.sh 2015-05-19 08:35:25.359622435 +0200
-+++ django-nose/runtests.sh 2015-05-19 08:39:18.344353920 +0200
-@@ -1,6 +1,9 @@
++++ django-nose/runtests.sh 2015-05-19 09:01:31.290969280 +0200
+@@ -1,8 +1,11 @@
#!/bin/bash
export PYTHONPATH=.
@@ -20,8 +20,11 @@
+ export PYTHON=python
+fi
- PYTHONVERSION=$(python --version 2>&1)
+-PYTHONVERSION=$(python --version 2>&1)
++PYTHONVERSION=$($PYTHON --version 2>&1)
PYTHONVERSION=${PYTHONVERSION##Python }
+
+ function version { echo $@ | gawk -F. '{ printf("%d.%d.%d\n", $1,$2,$3); }'; }
@@ -37,19 +40,19 @@
fi
}
More information about the Python-modules-commits
mailing list