pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python lang/python: add show-all-pyversion target
details: https://anonhg.NetBSD.org/pkgsrc/rev/31bd5b02b5b0
branches: trunk
changeset: 424787:31bd5b02b5b0
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Mar 15 14:28:36 2020 +0000
description:
lang/python: add show-all-pyversion target
When devel/py-flake8 is built with PYTHON_VERSION_DEFAULT=27, it
nevertheless depends on py37-test-runner-5.2. This is surprising, and to
help researching this issue, all Python-related variables can be listed
using "bmake show-all-pyversion".
diffstat:
lang/python/pyversion.mk | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 4ddb1c6608c8 -r 31bd5b02b5b0 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk Sun Mar 15 14:14:16 2020 +0000
+++ b/lang/python/pyversion.mk Sun Mar 15 14:28:36 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.130 2019/10/15 16:50:10 adam Exp $
+# $NetBSD: pyversion.mk,v 1.131 2020/03/15 14:28:36 rillig Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -213,4 +213,24 @@
CMAKE_ARGS+= -DPYTHON_EXECUTABLE:FILEPATH=${PYTHONBIN}
.endif
+_VARGROUPS+= pyversion
+_USER_VARS.pyversion= PYTHON_VERSION_DEFAULT
+_PKG_VARS.pyversion= \
+ PYTHON_VERSIONS_ACCEPTED PYTHON_VERSIONS_INCOMPATIBLE \
+ PYTHON_SELF_CONFLICT PYTHON_FOR_BUILD_ONLY USE_CMAKE
+_SYS_VARS.pyversion= \
+ PYTHON_VERSION_REQD PYPACKAGE PYVERSSUFFIX PYPKGSRCDIR \
+ PYPKGPREFIX PYTHONBIN PYTHONCONFIG PY_COMPILE_ALL \
+ PY_COMPILE_O_ALL PYINC PYLIB PYSITELIB CMAKE_ARGS
+_USE_VARS.pyversion= \
+ PKGNAME_REQD PKGNAME_OLD LOCALBASE PREFIX BUILDLINK_DIR PKGNAME
+_DEF_VARS.pyversion= \
+ CONFLICTS MULTI PLIST_VARS BUILDLINK_API_DEPENDS.${PYPACKAGE} \
+ PYDEPENDENCY PLIST.py2x PLIST.py3x PTHREAD_OPTS TOOL_DEPENDS \
+ TEST_DEPENDS BUILDLINK_DEPMETHOD.python PRINT_PLIST_AWK ALL_ENV \
+ _PYTHON_VERSIONS_ACCEPTED _PYTHON_VERSION
+_IGN_VARS.pyversion= _PYTHON_*
+_LISTED_VARS.pyversion= *_ARGS
+_SORTED_VARS.pyversion= *_DEPENDS *_ENV
+
.endif # PYTHON_PYVERSION_MK
Home |
Main Index |
Thread Index |
Old Index