summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorapb <apb>2012-10-05 10:14:46 +0000
committerapb <apb>2012-10-05 10:14:46 +0000
commitd0e92b5dafa381ce86bc4fb4887f4559216bf961 (patch)
tree6d57b627c7560e31cec7ed303ae7859085d613c5 /security
parent232d721cb435253cb44dbda79a66ba62f2732506 (diff)
downloadpkgsrc-d0e92b5dafa381ce86bc4fb4887f4559216bf961.tar.gz
In the PLIST, add four files in ${PYSITELIB}/${EGG_INFODIR}.
In the Makefile, remove PYDISTUTILSPKG=yes, add .include "../../lang/python/egg.mk", and set PKGREVISION=1. This fixes errors from "make package" complaining about files that were installed but not present in the PLIST.
Diffstat (limited to 'security')
-rw-r--r--security/py-m2crypto/Makefile6
-rw-r--r--security/py-m2crypto/PLIST6
2 files changed, 8 insertions, 4 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index f52c7f5dcf2..42c88defd59 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.26 2012/01/22 10:05:18 apb Exp $
+# $NetBSD: Makefile,v 1.27 2012/10/05 10:14:46 apb Exp $
#
DISTNAME= M2Crypto-0.21.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= security python
MASTER_SITES= http://pypi.python.org/packages/source/M/M2Crypto/
@@ -13,8 +14,6 @@ LICENSE= m2crypto-license
PKG_DESTDIR_SUPPORT= user-destdir
-PYDISTUTILSPKG= yes
-
# constness is very different between openssl versions,
# it seems, and 0.9.7i is the version which currently is
# in pkgsrc and against which I fixed m2crypto to compile.
@@ -22,6 +21,7 @@ PYDISTUTILSPKG= yes
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7i{,nb*}
.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../devel/swig/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-m2crypto/PLIST b/security/py-m2crypto/PLIST
index 12449c7a018..1ea8b22bd85 100644
--- a/security/py-m2crypto/PLIST
+++ b/security/py-m2crypto/PLIST
@@ -1,4 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2012/01/22 10:05:18 apb Exp $
+@comment $NetBSD: PLIST,v 1.6 2012/10/05 10:14:46 apb Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/M2Crypto/ASN1.py
${PYSITELIB}/M2Crypto/ASN1.pyc
${PYSITELIB}/M2Crypto/ASN1.pyo