pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python wheel.mk: no pyo files for wheels



details:   https://anonhg.NetBSD.org/pkgsrc/rev/147b435551f5
branches:  trunk
changeset: 372517:147b435551f5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 25 21:51:41 2022 +0000

description:
wheel.mk: no pyo files for wheels

diffstat:

 lang/python/wheel.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 38902c90dce4 -r 147b435551f5 lang/python/wheel.mk
--- a/lang/python/wheel.mk      Tue Jan 25 21:48:11 2022 +0000
+++ b/lang/python/wheel.mk      Tue Jan 25 21:51:41 2022 +0000
@@ -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 @@
 .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