diff options
author | gdt <gdt> | 2010-07-24 12:33:19 +0000 |
---|---|---|
committer | gdt <gdt> | 2010-07-24 12:33:19 +0000 |
commit | 630df833184de3e02f2b36a8736e4fe71b9ef24b (patch) | |
tree | 8c03e1e5777665d0a735741f912cb985b22c8349 /security | |
parent | 8902dcfac44cd6e5c6d8a0471b392107e6d66e49 (diff) | |
download | pkgsrc-630df833184de3e02f2b36a8736e4fe71b9ef24b.tar.gz |
Use new lang/python/distutils.mk, simplifying Makefile.
Support conditional egg generation, making this build on 2.4.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-crypto/Makefile | 11 | ||||
-rw-r--r-- | security/py-crypto/PLIST | 4 |
2 files changed, 5 insertions, 10 deletions
diff --git a/security/py-crypto/Makefile b/security/py-crypto/Makefile index 52a3a42d888..bb1d73edf3f 100644 --- a/security/py-crypto/Makefile +++ b/security/py-crypto/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2010/07/23 23:12:36 gdt Exp $ +# $NetBSD: Makefile,v 1.19 2010/07/24 12:33:19 gdt Exp $ # DISTNAME= pycrypto-2.1.0 -PKGREVISION= 2 +PKGREVISION= 3 PKGNAME= ${PYPKGPREFIX}-crypto-2.1.0 CATEGORIES= security python MASTER_SITES= http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/ @@ -15,12 +15,7 @@ COMMENT= Cryptographic and hash functions for Python 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" +.include "../../lang/python/distutils.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/py-crypto/PLIST b/security/py-crypto/PLIST index 174080e6ab0..be8ea4830fa 100644 --- a/security/py-crypto/PLIST +++ b/security/py-crypto/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2010/07/23 23:24:19 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2010/07/24 12:33:19 gdt Exp $ ${PYSITELIB}/Crypto/Cipher/AES.so ${PYSITELIB}/Crypto/Cipher/ARC2.so ${PYSITELIB}/Crypto/Cipher/ARC4.so @@ -265,4 +265,4 @@ ${PYSITELIB}/Crypto/__init__.pyo ${PYSITELIB}/Crypto/pct_warnings.py ${PYSITELIB}/Crypto/pct_warnings.pyc ${PYSITELIB}/Crypto/pct_warnings.pyo -${PYSITELIB}/${EGG_FILE} +${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} |