diff options
author | gdt <gdt> | 2010-07-23 23:04:27 +0000 |
---|---|---|
committer | gdt <gdt> | 2010-07-23 23:04:27 +0000 |
commit | a614aa078ea36066960cd9718f7dc182837cfc83 (patch) | |
tree | 30b994f981a97ba536d50eecb89c15b80acf892d /security | |
parent | f6428f19719d8024c4a0035c9ce2dcec54593c58 (diff) | |
download | pkgsrc-a614aa078ea36066960cd9718f7dc182837cfc83.tar.gz |
Substitute the egg file in PLIST so that the version isn't hardcoded.
(We are missing infrastructure for egg files in non-egg packages.)
Problem pointed out by wiz@.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-OpenSSL/Makefile | 8 | ||||
-rw-r--r-- | security/py-OpenSSL/PLIST | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/security/py-OpenSSL/Makefile b/security/py-OpenSSL/Makefile index 133e747ea99..7d8396dc66e 100644 --- a/security/py-OpenSSL/Makefile +++ b/security/py-OpenSSL/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.21 2010/07/23 21:09:51 gdt Exp $ +# $NetBSD: Makefile,v 1.22 2010/07/23 23:04:27 gdt Exp $ # DISTNAME= pyOpenSSL-0.10 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= security python MASTER_SITES= http://pypi.python.org/packages/source/p/pyOpenSSL/ @@ -14,7 +14,11 @@ COMMENT= Python interface to the OpenSSL library PKG_DESTDIR_SUPPORT= user-destdir PYDISTUTILSPKG= yes + +# See PY_NO_EGG comments in ../../lang/python/extension.mk. PY_NO_EGG= no +EGG_NAME?= ${DISTNAME} +PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info .include "../../lang/python/extension.mk" .include "../../security/openssl/buildlink3.mk" diff --git a/security/py-OpenSSL/PLIST b/security/py-OpenSSL/PLIST index 2e7f4961bb8..41edd463a36 100644 --- a/security/py-OpenSSL/PLIST +++ b/security/py-OpenSSL/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2010/07/23 21:09:51 gdt Exp $ +@comment $NetBSD: PLIST,v 1.7 2010/07/23 23:04:27 gdt Exp $ ${PYSITELIB}/OpenSSL/SSL.so ${PYSITELIB}/OpenSSL/__init__.py ${PYSITELIB}/OpenSSL/__init__.pyc @@ -26,4 +26,4 @@ ${PYSITELIB}/OpenSSL/tsafe.pyo ${PYSITELIB}/OpenSSL/version.py ${PYSITELIB}/OpenSSL/version.pyc ${PYSITELIB}/OpenSSL/version.pyo -${PYSITELIB}/pyOpenSSL-0.10-py2.6.egg-info +${PYSITELIB}/${EGG_FILE} |