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:   wiz
Date:           Thu Oct 26 10:10:02 UTC 2023

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

Log Message:
python: extension.mk: replace python version number in binaries with var

(For print-PLIST)


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/lang/python/extension.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/extension.mk
diff -u pkgsrc/lang/python/extension.mk:1.61 pkgsrc/lang/python/extension.mk:1.62
--- pkgsrc/lang/python/extension.mk:1.61        Tue Jun 27 10:31:21 2023
+++ pkgsrc/lang/python/extension.mk     Thu Oct 26 10:10:02 2023
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.61 2023/06/27 10:31:21 riastradh Exp $
+# $NetBSD: extension.mk,v 1.62 2023/10/26 10:10:02 wiz Exp $
 
 .include "../../lang/python/pyversion.mk"
 
@@ -69,6 +69,7 @@ EARLY_PRINT_PLIST_AWK+=       /^[^@]/ && /[^\/
 EARLY_PRINT_PLIST_AWK+=        gsub(/__pycache__\//, "")
 EARLY_PRINT_PLIST_AWK+=        gsub(/opt-1\.pyc$$/, "pyo")
 EARLY_PRINT_PLIST_AWK+=        gsub(/\.cpython-${_PYTHON_VERSION}/, "")}
+PRINT_PLIST_AWK+=      /bin/ { sub(/${PYVERSSUFFIX}/, "$${PYVERSSUFFIX}") }
 .endif
 
 # For running tests before installation of the package,



Home | Main Index | Thread Index | Old Index