summaryrefslogtreecommitdiff
path: root/security/py-cryptopp
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-07-23 23:17:48 +0000
committergdt <gdt@pkgsrc.org>2010-07-23 23:17:48 +0000
commitb830e361e22b930aff17e482640d8072a91d9ef1 (patch)
tree948c1cb748cc24ec86af3f345dd7204ffea0d8c1 /security/py-cryptopp
parent83299a05453b683746556f9cf6570a94662666f6 (diff)
downloadpkgsrc-b830e361e22b930aff17e482640d8072a91d9ef1.tar.gz
This uses setuptools, so use egg.mk.
Substitute egg directory in PLIST to avoid hardcoded version.
Diffstat (limited to 'security/py-cryptopp')
-rw-r--r--security/py-cryptopp/Makefile8
-rw-r--r--security/py-cryptopp/PLIST16
2 files changed, 11 insertions, 13 deletions
diff --git a/security/py-cryptopp/Makefile b/security/py-cryptopp/Makefile
index 8314e454068..20f7cf679bc 100644
--- a/security/py-cryptopp/Makefile
+++ b/security/py-cryptopp/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2010/07/23 01:17:42 gdt Exp $
+# $NetBSD: Makefile,v 1.3 2010/07/23 23:17:48 gdt Exp $
#
DISTNAME= pycryptopp-0.5.19
-PKGREVISION= 1
+PKGREVISION= 2
PKGNAME= ${PYPKGPREFIX}-cryptopp-0.5.19
CATEGORIES= security python
MASTER_SITES= http://pypi.python.org/packages/source/p/pycryptopp/
@@ -15,7 +15,5 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
-PYDISTUTILSPKG= yes
-
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-cryptopp/PLIST b/security/py-cryptopp/PLIST
index 3f369219101..fcce511c1ff 100644
--- a/security/py-cryptopp/PLIST
+++ b/security/py-cryptopp/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/22 19:39:41 gdt Exp $
-${PYSITELIB}/pycryptopp-0.5.19-py2.6.egg-info/PKG-INFO
-${PYSITELIB}/pycryptopp-0.5.19-py2.6.egg-info/SOURCES.txt
-${PYSITELIB}/pycryptopp-0.5.19-py2.6.egg-info/dependency_links.txt
-${PYSITELIB}/pycryptopp-0.5.19-py2.6.egg-info/not-zip-safe
-${PYSITELIB}/pycryptopp-0.5.19-py2.6.egg-info/requires.txt
-${PYSITELIB}/pycryptopp-0.5.19-py2.6.egg-info/stdeb.cfg
-${PYSITELIB}/pycryptopp-0.5.19-py2.6.egg-info/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2010/07/23 23:17:48 gdt Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/stdeb.cfg
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pycryptopp/__init__.py
${PYSITELIB}/pycryptopp/__init__.pyc
${PYSITELIB}/pycryptopp/__init__.pyo