SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
textproc/py-polib/patches/patch-runtests_sh
Normal file
15
textproc/py-polib/patches/patch-runtests_sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
use the right version of coverage
|
||||
Index: runtests.sh
|
||||
--- runtests.sh.orig
|
||||
+++ runtests.sh
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
-if which coverage > /dev/null; then
|
||||
- coverage run tests/tests.py
|
||||
- coverage report
|
||||
+if which coverage${MODPY_MAJOR_VERSION} > /dev/null; then
|
||||
+ coverage${MODPY_MAJOR_VERSION} run tests/tests.py
|
||||
+ coverage${MODPY_MAJOR_VERSION} report
|
||||
else
|
||||
/usr/bin/env python tests/tests.py
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue