ports/devel/pycdc/files/patch-tests_decompyle__test.sh
Daniel Engberg 3c2460a20b devel/pycdc: Various fixes
* Remove bash as build dependency
* Define USES= compiler:c++11-lang
* Define Python dependency for "make test" and env for build to
  enable PYTHON vars when using USES= shebangfix
* Define bash as dependency for "make test"
* Use TEST_TARGET instead of do-test

Approved by:	portmgr (blanket, build fix)
2024-08-10 15:35:39 +02:00

11 lines
286 B
Bash

--- tests/decompyle_test.sh.orig 2024-08-10 12:46:23 UTC
+++ tests/decompyle_test.sh
@@ -6,7 +6,7 @@ if [[ -z "$PYTHON_EXE" ]]; then
outdir="$2"
if [[ -z "$PYTHON_EXE" ]]; then
- PYTHON_EXE="$(which python3)"
+ PYTHON_EXE="%%PYTHON_CMD%%"
fi
if [[ -z "$testname" ]]; then