summaryrefslogtreecommitdiff
path: root/security/py-m2crypto
diff options
context:
space:
mode:
authorapb <apb@pkgsrc.org>2012-10-05 10:14:46 +0000
committerapb <apb@pkgsrc.org>2012-10-05 10:14:46 +0000
commit35a3d960eaa3cd88c73b4b74420767745222c1f2 (patch)
tree6d57b627c7560e31cec7ed303ae7859085d613c5 /security/py-m2crypto
parentcbbaab9b5ab0f65dad9ddc5a1c18ee6e43c4f01c (diff)
downloadpkgsrc-35a3d960eaa3cd88c73b4b74420767745222c1f2.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/py-m2crypto')
-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