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:   jperkin
Date:           Mon Jun 16 09:27:03 UTC 2025

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

Log Message:
python: Explicitly set BUILDLINK_DEPMETHOD.

Previously if PYTHON_FOR_BUILD_ONLY=no was set, but a package further up the
dependency tree set BUILDLINK_DEPMETHOD=build (e.g. py-pybind11), then python
would incorrectly end up inheriting that setting, leading to failures with
USE_INDIRECT_DEPENDS=yes enabled.

Tested in bulk builds, and fixes build of py-matplotlib.  Approved during
freeze by Benny.


To generate a diff of this commit:
cvs rdiff -u -r1.168 -r1.169 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.168 pkgsrc/lang/python/pyversion.mk:1.169
--- pkgsrc/lang/python/pyversion.mk:1.168       Wed May  7 10:29:25 2025
+++ pkgsrc/lang/python/pyversion.mk     Mon Jun 16 09:27:03 2025
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.168 2025/05/07 10:29:25 tnn Exp $
+# $NetBSD: pyversion.mk,v 1.169 2025/06/16 09:27:03 jperkin Exp $
 
 # This file should be included by packages as a way to depend on
 # python when none of the other methods are appropriate, e.g. a
@@ -204,6 +204,8 @@ TEST_DEPENDS+=                      ${PYDEPENDENCY}
 .  else
 .    if !empty(PYTHON_FOR_BUILD_ONLY:M[yY][eE][sS])
 BUILDLINK_DEPMETHOD.python?=   build
+.    else
+BUILDLINK_DEPMETHOD.python?=   full
 .    endif
 .    include "${PYPKGSRCDIR}/buildlink3.mk"
 .    if ${USE_CROSS_COMPILE:tl} == "yes"



Home | Main Index | Thread Index | Old Index