summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorgdt <gdt>2010-07-23 23:12:36 +0000
committergdt <gdt>2010-07-23 23:12:36 +0000
commite0857e7ad02daf04fb67fd0d87104290c8b120c2 (patch)
treec4eefbd00d51c9a5c04552a16708cd8c81eaec58 /security
parenta614aa078ea36066960cd9718f7dc182837cfc83 (diff)
downloadpkgsrc-e0857e7ad02daf04fb67fd0d87104290c8b120c2.tar.gz
Substitute egg file name to avoid hardcoded version.
Diffstat (limited to 'security')
-rw-r--r--security/py-crypto/Makefile6
-rw-r--r--security/py-crypto/PLIST5
2 files changed, 7 insertions, 4 deletions
diff --git a/security/py-crypto/Makefile b/security/py-crypto/Makefile
index 5fc579cff01..52a3a42d888 100644
--- a/security/py-crypto/Makefile
+++ b/security/py-crypto/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2010/07/23 18:30:51 gdt Exp $
+# $NetBSD: Makefile,v 1.18 2010/07/23 23:12:36 gdt Exp $
#
DISTNAME= pycrypto-2.1.0
-PKGREVISION= 1
+PKGREVISION= 2
PKGNAME= ${PYPKGPREFIX}-crypto-2.1.0
CATEGORIES= security python
MASTER_SITES= http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
@@ -17,6 +17,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
PY_NO_EGG= no
+EGG_NAME?= ${DISTNAME}
+PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/extension.mk"
diff --git a/security/py-crypto/PLIST b/security/py-crypto/PLIST
index 54067af1b8b..321e2abea37 100644
--- a/security/py-crypto/PLIST
+++ b/security/py-crypto/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2010/07/23 18:30:51 gdt Exp $
+@comment $NetBSD: PLIST,v 1.3 2010/07/23 23:12:36 gdt Exp $
${PYSITELIB}/Crypto/Cipher/AES.so
${PYSITELIB}/Crypto/Cipher/ARC2.so
${PYSITELIB}/Crypto/Cipher/ARC4.so
@@ -265,4 +265,5 @@ ${PYSITELIB}/Crypto/__init__.pyo
${PYSITELIB}/Crypto/pct_warnings.py
${PYSITELIB}/Crypto/pct_warnings.pyc
${PYSITELIB}/Crypto/pct_warnings.pyo
-${PYSITELIB}/pycrypto-2.1.0-py2.6.egg-info
+${PYSITELIB}/${EGG_FILE}
+