pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-tornado Re-written backports.abc condition for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c7a23fe71f5
branches:  trunk
changeset: 366937:3c7a23fe71f5
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Aug 19 13:55:20 2017 +0000

description:
Re-written backports.abc condition for Python < 3.5

diffstat:

 www/py-tornado/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 207c79c17e93 -r 3c7a23fe71f5 www/py-tornado/Makefile
--- a/www/py-tornado/Makefile   Sat Aug 19 12:16:20 2017 +0000
+++ b/www/py-tornado/Makefile   Sat Aug 19 13:55:20 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2017/05/04 09:50:21 adam Exp $
+# $NetBSD: Makefile,v 1.23 2017/08/19 13:55:20 adam Exp $
 
 DISTNAME=      tornado-4.5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -28,7 +28,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-singledispatch>0:../../devel/py-singledispatch
 .endif
-.if "${PYPKGPREFIX}" != "py35" && "${PYPKGPREFIX}" != "py36"
+.if "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34"
 DEPENDS+=      ${PYPKGPREFIX}-backports_abc>=0.4:../../devel/py-backports_abc
 PLIST.requires=        yes
 .endif



Home | Main Index | Thread Index | Old Index