pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-crack py-crack: fix PLIST for python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30a7670c8afa
branches:  trunk
changeset: 372238:30a7670c8afa
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 22 14:28:27 2022 +0000

description:
py-crack: fix PLIST for python 2.7

diffstat:

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

diffs (31 lines):

diff -r a4cff7281f18 -r 30a7670c8afa security/py-crack/Makefile
--- a/security/py-crack/Makefile        Sat Jan 22 14:26:55 2022 +0000
+++ b/security/py-crack/Makefile        Sat Jan 22 14:28:27 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2022/01/10 08:59:05 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2022/01/22 14:28:27 wiz Exp $
 
 DISTNAME=      pycrack-0.01
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:C/py//}
@@ -13,7 +13,11 @@
 
 DEPENDS+=                      crack>=5.0:../../security/crack
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} != "py27"
 EGG_NAME=      pycrack-0.1
+.endif
 
 .include "../../lang/python/egg.mk"
 .include "../../security/libcrack/buildlink3.mk"
diff -r a4cff7281f18 -r 30a7670c8afa security/py-crack/PLIST
--- a/security/py-crack/PLIST   Sat Jan 22 14:26:55 2022 +0000
+++ b/security/py-crack/PLIST   Sat Jan 22 14:28:27 2022 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2022/01/10 21:29:45 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/01/22 14:28:27 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