summaryrefslogtreecommitdiff
path: root/security/py-crypto
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-07-23 23:12:36 +0000
committergdt <gdt@pkgsrc.org>2010-07-23 23:12:36 +0000
commit83299a05453b683746556f9cf6570a94662666f6 (patch)
treec4eefbd00d51c9a5c04552a16708cd8c81eaec58 /security/py-crypto
parent847234f173836591c316f63b5aeb569149f51e58 (diff)
downloadpkgsrc-83299a05453b683746556f9cf6570a94662666f6.tar.gz
Substitute egg file name to avoid hardcoded version.
Diffstat (limited to 'security/py-crypto')
-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}
+