pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Oct  7 23:56:23 UTC 2018

Modified Files:
        pkgsrc/lang/python: pyversion.mk

Log Message:
Extend PYTHON_FOR_BUILD_ONLY to test


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 pkgsrc/lang/python/pyversion.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python/pyversion.mk
diff -u pkgsrc/lang/python/pyversion.mk:1.124 pkgsrc/lang/python/pyversion.mk:1.125
--- pkgsrc/lang/python/pyversion.mk:1.124       Tue Jul  3 03:55:40 2018
+++ pkgsrc/lang/python/pyversion.mk     Sun Oct  7 23:56:23 2018
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.124 2018/07/03 03:55:40 adam Exp $
+# $NetBSD: pyversion.mk,v 1.125 2018/10/07 23:56:23 ryoon Exp $
 
 # This file determines which Python version is used as a dependency for
 # a package.
@@ -39,7 +39,7 @@
 # PYTHON_FOR_BUILD_ONLY
 #      Whether Python is needed only at build time or at run time.
 #
-#      Possible values: yes no tool
+#      Possible values: yes no test tool
 #      Default: no
 #
 # PYTHON_SELF_CONFLICT
@@ -165,6 +165,8 @@ PYTHON_FOR_BUILD_ONLY?=             no
 .if defined(PYPKGSRCDIR)
 .  if !empty(PYTHON_FOR_BUILD_ONLY:M[tT][oO][oO][lL])
 TOOL_DEPENDS+=                 ${PYDEPENDENCY}
+.  elif !empty(PYTHON_FOR_BUILD_ONLY:M[tT][eE][sS][tT])
+TEST_DEPENDS+=                 ${PYDEPENDENCY}
 .  else
 .    if !empty(PYTHON_FOR_BUILD_ONLY:M[yY][eE][sS])
 BUILDLINK_DEPMETHOD.python?=   build



Home | Main Index | Thread Index | Old Index