pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/py-cxfreeze py-cxfreeze: fix PLIST for python != ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12d2a975b46a
branches:  trunk
changeset: 388257:12d2a975b46a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 15 12:23:45 2022 +0000

description:
py-cxfreeze: fix PLIST for python != 3.11

diffstat:

 lang/py-cxfreeze/Makefile |  4 ++--
 lang/py-cxfreeze/PLIST    |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 959c1b856c4f -r 12d2a975b46a lang/py-cxfreeze/Makefile
--- a/lang/py-cxfreeze/Makefile Tue Nov 15 12:18:26 2022 +0000
+++ b/lang/py-cxfreeze/Makefile Tue Nov 15 12:23:45 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2022/11/14 19:19:57 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2022/11/15 12:23:45 wiz Exp $
 
 DISTNAME=      cx_Freeze-6.13.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_F/f/}
@@ -12,7 +12,7 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-REPLACE_PYTHON=        cx_Freeze/samples/PyQt5/PyQt5app.py
+PLIST_SUBST+=  PYVERNODOT=${PYVERSSUFFIX:S/.//g}
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && mv cxfreeze cxfreeze-${PYVERSSUFFIX} || ${TRUE}
diff -r 959c1b856c4f -r 12d2a975b46a lang/py-cxfreeze/PLIST
--- a/lang/py-cxfreeze/PLIST    Tue Nov 15 12:18:26 2022 +0000
+++ b/lang/py-cxfreeze/PLIST    Tue Nov 15 12:23:45 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2022/11/14 19:19:24 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2022/11/15 12:23:45 wiz Exp $
 bin/cxfreeze-${PYVERSSUFFIX}
 bin/cxfreeze-quickstart-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -20,7 +20,7 @@
 ${PYSITELIB}/cx_Freeze/bases/__init__.py
 ${PYSITELIB}/cx_Freeze/bases/__init__.pyc
 ${PYSITELIB}/cx_Freeze/bases/__init__.pyo
-${PYSITELIB}/cx_Freeze/bases/console-cpython-311
+${PYSITELIB}/cx_Freeze/bases/console-cpython-${PYVERNODOT}
 ${PYSITELIB}/cx_Freeze/cli.py
 ${PYSITELIB}/cx_Freeze/cli.pyc
 ${PYSITELIB}/cx_Freeze/cli.pyo



Home | Main Index | Thread Index | Old Index