From 7496271f4b5e10288af6a006dcc53ad2b485d0b6 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 10 Jan 2020 21:17:45 +0000 Subject: py-grpcio uses async syntax not supported in Python 2. --- net/py-grpcio/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'net/py-grpcio') diff --git a/net/py-grpcio/Makefile b/net/py-grpcio/Makefile index b1e38db5709..d7af9cd3806 100644 --- a/net/py-grpcio/Makefile +++ b/net/py-grpcio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2020/01/03 08:21:37 adam Exp $ +# $NetBSD: Makefile,v 1.13 2020/01/10 21:17:45 joerg Exp $ DISTNAME= grpcio-1.26.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -13,11 +13,9 @@ LICENSE= apache-2.0 DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.0:../../devel/py-protobuf DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six +PYTHON_VERSIONS_INCOMPATIBLE= 27 + .include "../../lang/python/pyversion.mk" -.if ${_PYTHON_VERSION} == 27 -DEPENDS+= ${PYPKGPREFIX}-enum34>=1.0.4:../../devel/py-enum34 -DEPENDS+= ${PYPKGPREFIX}-futures>=2.2.0:../../devel/py-futures -.endif USE_LANGUAGES+= c99 c++11 USE_TOOLS+= gmake pkg-config -- cgit v1.2.3