[arch-commits] Commit in python-cram/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Feb 13 01:00:45 UTC 2019
Date: Wednesday, February 13, 2019 @ 01:00:45
Author: eschwartz
Revision: 432014
upgpkg: python-cram 0.7-4
fix testsuites using the wrong version of python. The tests use a python runner
to re-execute a bunch of shellscripts that then re-re-execute the module
itself. And those tests try to find which version of python to use based on the
default python -- or $PYTHON. This then also shipped python3 bytecode in the
python2 package. AGHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH.
Modified:
python-cram/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-13 00:55:44 UTC (rev 432013)
+++ PKGBUILD 2019-02-13 01:00:45 UTC (rev 432014)
@@ -5,7 +5,7 @@
pkgbase=python-cram
pkgname=('python-cram' 'python2-cram')
pkgver=0.7
-pkgrel=3
+pkgrel=4
pkgdesc='Functional tests for command line applications'
arch=('any')
url='https://bitheap.org/cram/'
@@ -28,10 +28,10 @@
check() {
cd "$srcdir"/cram-$pkgver
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python scripts/cram tests
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" PYTHON=python python scripts/cram tests
cd "$srcdir"/cram-$pkgver-py2
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 scripts/cram tests
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" PYTHON=python2 python2 scripts/cram tests
}
package_python-cram() {
More information about the arch-commits
mailing list