From 93539b02457317df7fe28171c012ea1510694cec Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 28 Aug 2015 10:42:46 +0000 Subject: Add missing dependency for python-2.7 and python-3.3. Fix PLIST for python-3.3. Bump PKGREVISION. --- www/py-tornado/Makefile | 10 +++++++++- www/py-tornado/PLIST | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'www/py-tornado') diff --git a/www/py-tornado/Makefile b/www/py-tornado/Makefile index f771e51e49a..79db5249c87 100644 --- a/www/py-tornado/Makefile +++ b/www/py-tornado/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2015/07/19 10:16:12 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2015/08/28 10:42:46 wiz Exp $ DISTNAME= tornado-4.2.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://pypi.python.org/packages/source/t/tornado/ @@ -22,8 +23,15 @@ do-test: .include "../../lang/python/pyversion.mk" +PLIST_VARS+= requires .if "${PYPKGPREFIX}" == "py27" DEPENDS+= ${PYPKGPREFIX}-backports.ssl_match_hostname-[0-9]*:../../security/py-backports.ssl_match_hostname +DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi +PLIST.requires= yes +.endif +.if "${PYPKGPREFIX}" == "py33" +DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi +PLIST.requires= yes .endif .include "../../lang/python/egg.mk" diff --git a/www/py-tornado/PLIST b/www/py-tornado/PLIST index 6f8b56615a2..44408cb9ffe 100644 --- a/www/py-tornado/PLIST +++ b/www/py-tornado/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.8 2015/07/19 10:16:12 wiz Exp $ +@comment $NetBSD: PLIST,v 1.9 2015/08/28 10:42:46 wiz Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PLIST.requires}${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/tornado/__init__.py ${PYSITELIB}/tornado/__init__.pyc -- cgit v1.2.3