Substitute egg file name to avoid hardcoded version.
This commit is contained in:
parent
847234f173
commit
83299a0545
2 changed files with 7 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue