pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cooldict py-cooldict: fix PLIST for python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f792e0eb2591
branches:  trunk
changeset: 372263:f792e0eb2591
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 22 15:31:14 2022 +0000

description:
py-cooldict: fix PLIST for python 2.7

diffstat:

 devel/py-cooldict/Makefile |  6 +++++-
 devel/py-cooldict/PLIST    |  3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 9c2303062f18 -r f792e0eb2591 devel/py-cooldict/Makefile
--- a/devel/py-cooldict/Makefile        Sat Jan 22 15:29:50 2022 +0000
+++ b/devel/py-cooldict/Makefile        Sat Jan 22 15:31:14 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/01/10 08:57:42 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/22 15:31:14 wiz Exp $
 
 DISTNAME=      cooldict-1.04
 PKGNAME=       ${PYPKGPREFIX}-cooldict-1.4
@@ -11,7 +11,11 @@
 COMMENT=       Some useful dict-like structures
 LICENSE=       2-clause-bsd
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} != "py27"
 EGG_NAME=      cooldict-1.4
+.endif
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9c2303062f18 -r f792e0eb2591 devel/py-cooldict/PLIST
--- a/devel/py-cooldict/PLIST   Sat Jan 22 15:29:50 2022 +0000
+++ b/devel/py-cooldict/PLIST   Sat Jan 22 15:31:14 2022 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/10 18:27:04 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/01/22 15:31:14 wiz Exp $
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
 ${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index