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:17:14 UTC 2023

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

Log Message:
python: also replace PYVERSSUFFIX in man page names


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 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.62 pkgsrc/lang/python/extension.mk:1.63
--- pkgsrc/lang/python/extension.mk:1.62        Thu Oct 26 10:10:02 2023
+++ pkgsrc/lang/python/extension.mk     Thu Oct 26 10:17:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.62 2023/10/26 10:10:02 wiz Exp $
+# $NetBSD: extension.mk,v 1.63 2023/10/26 10:17:14 wiz Exp $
 
 .include "../../lang/python/pyversion.mk"
 
@@ -69,7 +69,8 @@ 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}") }
+PRINT_PLIST_AWK+=      /bin\// { sub(/${PYVERSSUFFIX}/, "$${PYVERSSUFFIX}") }
+PRINT_PLIST_AWK+=      /man\// { sub(/${PYVERSSUFFIX}/, "$${PYVERSSUFFIX}") }
 .endif
 
 # For running tests before installation of the package,



Home | Main Index | Thread Index | Old Index