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:   gdt
Date:           Mon Apr 27 22:38:34 UTC 2026

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

Log Message:
lang/python/wheel.mk: Clarify PY_RENAME_BINARIES

Use "files" not "binaries" as this works with python scripts :-).

Don't parenthesize ("in $PREFIX}/bin") because that's a critical
definition, not a reminder.

Suggest adding ALTERNATIVES for cases when the program would be run by
humans expecting an unversioned name.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/lang/python/wheel.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/wheel.mk
diff -u pkgsrc/lang/python/wheel.mk:1.24 pkgsrc/lang/python/wheel.mk:1.25
--- pkgsrc/lang/python/wheel.mk:1.24    Wed Apr  1 20:40:06 2026
+++ pkgsrc/lang/python/wheel.mk Mon Apr 27 22:38:34 2026
@@ -1,4 +1,4 @@
-# $NetBSD: wheel.mk,v 1.24 2026/04/01 20:40:06 wiz Exp $
+# $NetBSD: wheel.mk,v 1.25 2026/04/27 22:38:34 gdt Exp $
 #
 # Build and install Python wheels
 #
@@ -24,10 +24,12 @@
 
 # Variables:
 #
-# PY_RENAME_BINARIES:  List of binaries (in ${PREFIX}/bin) that should
+# PY_RENAME_BINARIES:  List of files in ${PREFIX}/bin that should
 #                      be renamed to have a '-${PYVERSSUFFIX}'
 #                      suffix. This allows parallel installation of a
 #                      package for different Python versions.
+#                      (Add ALTERNATIVES if humans desire to run
+#                      the program using the unversioned name.)
 #
 # WHEELFILE:           Path to the wheelfile to be installed.
 #                      Only needs to be set if do-build is redefined.



Home | Main Index | Thread Index | Old Index