Hi,
On port using lang/python MODULES, TEST_DEPENDS is populated
inconditionnally.
It makes ports with NO_TEST=Yes to first install dependencies, and next
report there is no regression test.
The following diff follows what is already done for MODPY_BUILDDEP
regarding NO_BUILD, and sets MODPY_TESTDEP to Yes only with NO_TEST=No.
Comments or OK ?
--
Sebastien Marie
Index: python.port.mk
===================================================================
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.109
diff -u -p -r1.109 python.port.mk
--- python.port.mk 15 May 2019 12:04:34 -0000 1.109
+++ python.port.mk 16 May 2019 17:54:23 -0000
@@ -83,7 +83,11 @@ MODPY_BUILDDEP ?= Yes
MODPY_BUILDDEP ?= No
.endif
MODPY_RUNDEP ?= Yes
+.if ${NO_TEST:L} == "no"
MODPY_TESTDEP ?= Yes
+.else
+MODPY_TESTDEP ?= No
+.endif
.if ${MODPY_BUILDDEP:L} == "yes"
BUILD_DEPENDS += ${_MODPY_BUILD_DEPENDS}