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:   rillig
Date:           Sun Mar 15 14:28:36 UTC 2020

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

Log Message:
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".


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 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.130 pkgsrc/lang/python/pyversion.mk:1.131
--- pkgsrc/lang/python/pyversion.mk:1.130       Tue Oct 15 16:50:10 2019
+++ pkgsrc/lang/python/pyversion.mk     Sun Mar 15 14:28:36 2020
@@ -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_INCLUDE_PATH:PATH
 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