pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python python: allow :test in PYTHON_VERSIONED_DE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48e0163c99c0
branches:  trunk
changeset: 378325:48e0163c99c0
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Apr 05 12:32:53 2018 +0000

description:
python: allow :test in PYTHON_VERSIONED_DEPENDENCIES

diffstat:

 lang/python/versioned_dependencies.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 42dc51ade714 -r 48e0163c99c0 lang/python/versioned_dependencies.mk
--- a/lang/python/versioned_dependencies.mk     Thu Apr 05 12:02:41 2018 +0000
+++ b/lang/python/versioned_dependencies.mk     Thu Apr 05 12:32:53 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: versioned_dependencies.mk,v 1.31 2018/01/09 12:17:55 wiz Exp $
+# $NetBSD: versioned_dependencies.mk,v 1.32 2018/04/05 12:32:53 adam Exp $
 #
 # This file determines which separate distribution of a Python
 # package is used as dependency, depending on the Python version
@@ -40,6 +40,8 @@
 .include "../../${dir}/buildlink3.mk"
 .      elif "${type}" == ":build"
 BUILD_DEPENDS:=        ${BUILD_DEPENDS} ${PYPKGPREFIX}-${pkg}-[0-9]*:../../${dir}
+.      elif "${type}" == ":test"
+TEST_DEPENDS:= ${TEST_DEPENDS} ${PYPKGPREFIX}-${pkg}-[0-9]*:../../${dir}
 .      else
 DEPENDS:=      ${DEPENDS} ${PYPKGPREFIX}-${pkg}-[0-9]*:../../${dir}
 .      endif



Home | Main Index | Thread Index | Old Index