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:   riastradh
Date:           Wed Jun 14 11:06:46 UTC 2023

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

Log Message:
pyversion.mk: Handle multiple BUILDLINK_API_DEPENDS.pythonNN.

Otherwise PYDEPENDENCY is garbage mixing pythonNN>=N.N notation with
pythonNN>=N.N:../../lang/pythonNN notation, arising from entries in
BUILDLINK_API_DEPENDS.pythonNN contributed by:

- pyversion.mk
- buildlink3.mk
- srcdist.mk

if nothing else.


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 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.148 pkgsrc/lang/python/pyversion.mk:1.149
--- pkgsrc/lang/python/pyversion.mk:1.148       Tue Mar 28 19:57:06 2023
+++ pkgsrc/lang/python/pyversion.mk     Wed Jun 14 11:06:46 2023
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.148 2023/03/28 19:57:06 wiz Exp $
+# $NetBSD: pyversion.mk,v 1.149 2023/06/14 11:06:46 riastradh 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
@@ -172,7 +172,7 @@ PYPACKAGE=                          python${_PYTHON_VERSION}
 PYVERSSUFFIX=                          ${_PYTHON_VERSION:C/^([0-9])/\1./1}
 BUILDLINK_API_DEPENDS.${PYPACKAGE}?=   ${PYPACKAGE}>=${PYVERSSUFFIX}
 PYPKGSRCDIR=                           ../../lang/${PYPACKAGE}
-PYDEPENDENCY=                          ${BUILDLINK_API_DEPENDS.${PYPACKAGE}}:${PYPKGSRCDIR}
+PYDEPENDENCY=                          ${BUILDLINK_API_DEPENDS.${PYPACKAGE}:=:${PYPKGSRCDIR}}
 PYPKGPREFIX=                           py${_PYTHON_VERSION}
 .endif
 .if !empty(_PYTHON_VERSION:M3*)



Home | Main Index | Thread Index | Old Index