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:           Tue Jan 25 21:51:41 UTC 2022

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

Log Message:
wheel.mk: no pyo files for wheels


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 pkgsrc/lang/python/wheel.mk:1.5
--- pkgsrc/lang/python/wheel.mk:1.4     Tue Jan 25 13:21:21 2022
+++ pkgsrc/lang/python/wheel.mk Tue Jan 25 21:51:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: wheel.mk,v 1.4 2022/01/25 13:21:21 wiz Exp $
+# $NetBSD: wheel.mk,v 1.5 2022/01/25 21:51:41 wiz Exp $
 #
 # Initial mk for building and installing python wheels
 #
@@ -61,9 +61,8 @@ PLIST_SUBST+= WHEEL_INFODIR=${_WHEEL_INF
 .if empty(_PYTHON_VERSION:M2?)
 PLIST_AWK+=            -f ${PKGSRCDIR}/lang/python/plist-python.awk
 PLIST_AWK_ENV+=                PYVERS="${PYVERSSUFFIX:S/.//}"
-EARLY_PRINT_PLIST_AWK+=        /^[^@]/ && /[^\/]+\.py[co]$$/ {
+EARLY_PRINT_PLIST_AWK+=        /^[^@]/ && /[^\/]+\.pyc$$/ {
 EARLY_PRINT_PLIST_AWK+=        gsub(/__pycache__\//, "")
-EARLY_PRINT_PLIST_AWK+=        gsub(/opt-1\.pyc$$/, "pyo")
 EARLY_PRINT_PLIST_AWK+=        gsub(/\.cpython-${_PYTHON_VERSION}/, "")}
 .endif
 



Home | Main Index | Thread Index | Old Index