summaryrefslogtreecommitdiff
path: root/net/py-grpcio
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-01-10 21:17:45 +0000
committerjoerg <joerg@pkgsrc.org>2020-01-10 21:17:45 +0000
commit7496271f4b5e10288af6a006dcc53ad2b485d0b6 (patch)
treeb45fd71ecd6590c22c8e836de78b1096c6062483 /net/py-grpcio
parent7ed22f331ab0ef2d6c83c7bdd34903e7f951d412 (diff)
downloadpkgsrc-7496271f4b5e10288af6a006dcc53ad2b485d0b6.tar.gz
py-grpcio uses async syntax not supported in Python 2.
Diffstat (limited to 'net/py-grpcio')
-rw-r--r--net/py-grpcio/Makefile8
1 files changed, 3 insertions, 5 deletions
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