pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-m2crypto In the PLIST, add four files in $...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91f620aa5c7b
branches:  trunk
changeset: 609525:91f620aa5c7b
user:      apb <apb%pkgsrc.org@localhost>
date:      Fri Oct 05 10:14:46 2012 +0000

description:
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:

 security/py-m2crypto/Makefile |  6 +++---
 security/py-m2crypto/PLIST    |  6 +++++-
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 3a412a9c3b20 -r 91f620aa5c7b security/py-m2crypto/Makefile
--- a/security/py-m2crypto/Makefile     Fri Oct 05 09:37:53 2012 +0000
+++ b/security/py-m2crypto/Makefile     Fri Oct 05 10:14:46 2012 +0000
@@ -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 @@
 
 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 @@
 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 -r 3a412a9c3b20 -r 91f620aa5c7b security/py-m2crypto/PLIST
--- a/security/py-m2crypto/PLIST        Fri Oct 05 09:37:53 2012 +0000
+++ b/security/py-m2crypto/PLIST        Fri Oct 05 10:14:46 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index