pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net py-grpcio uses async syntax not supported in Pytho...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6dd33284e13
branches:  trunk
changeset: 347345:a6dd33284e13
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 10 21:17:45 2020 +0000

description:
py-grpcio uses async syntax not supported in Python 2.

diffstat:

 net/py-grpcio-testing/Makefile |  4 +++-
 net/py-grpcio-tools/Makefile   |  4 +++-
 net/py-grpcio/Makefile         |  8 +++-----
 3 files changed, 9 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r 6cda42ca3c1b -r a6dd33284e13 net/py-grpcio-testing/Makefile
--- a/net/py-grpcio-testing/Makefile    Fri Jan 10 21:17:17 2020 +0000
+++ b/net/py-grpcio-testing/Makefile    Fri Jan 10 21:17:45 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/01/03 08:21:37 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/10 21:17:45 joerg Exp $
 
 DISTNAME=      grpcio-testing-1.26.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@
 COMMENT=       gRPC Python testing package
 LICENSE=       apache-2.0
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 DEPENDS+=      ${PYPKGPREFIX}-grpcio>=${PKGVERSION_NOREV}:../../net/py-grpcio
 DEPENDS+=      ${PYPKGPREFIX}-protobuf>=3.6.0:../../devel/py-protobuf
 
diff -r 6cda42ca3c1b -r a6dd33284e13 net/py-grpcio-tools/Makefile
--- a/net/py-grpcio-tools/Makefile      Fri Jan 10 21:17:17 2020 +0000
+++ b/net/py-grpcio-tools/Makefile      Fri Jan 10 21:17:45 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/01/03 08:21:37 adam Exp $
+# $NetBSD: Makefile,v 1.11 2020/01/10 21:17:45 joerg Exp $
 
 DISTNAME=      grpcio-tools-1.26.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@
 COMMENT=       Protobuf code generator for gRPC
 LICENSE=       apache-2.0
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 DEPENDS+=      ${PYPKGPREFIX}-grpcio>=1.24.3:../../net/py-grpcio
 DEPENDS+=      ${PYPKGPREFIX}-protobuf>=3.5.1:../../devel/py-protobuf
 
diff -r 6cda42ca3c1b -r a6dd33284e13 net/py-grpcio/Makefile
--- a/net/py-grpcio/Makefile    Fri Jan 10 21:17:17 2020 +0000
+++ b/net/py-grpcio/Makefile    Fri Jan 10 21:17:45 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index