summaryrefslogtreecommitdiff
path: root/net/py-grpcio-tools/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-04-19 09:58:50 +0000
committeradam <adam@pkgsrc.org>2019-04-19 09:58:50 +0000
commite255c4d13ef529eaeecea93e144db0c6370ad859 (patch)
treeb2733ddf33bf65ac06569dfdc5efff56c018fcaa /net/py-grpcio-tools/Makefile
parent825d82f4347f5203b80736a235769c647152c237 (diff)
downloadpkgsrc-e255c4d13ef529eaeecea93e144db0c6370ad859.tar.gz
py-grpcio-tools: updated to 1.20.0
1.20.0: Sync with grpc 1.20.0
Diffstat (limited to 'net/py-grpcio-tools/Makefile')
-rw-r--r--net/py-grpcio-tools/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/py-grpcio-tools/Makefile b/net/py-grpcio-tools/Makefile
index b37c81e0294..28f524e7641 100644
--- a/net/py-grpcio-tools/Makefile
+++ b/net/py-grpcio-tools/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/04/28 01:24:36 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2019/04/19 09:58:50 adam Exp $
-DISTNAME= grpcio-tools-1.11.0
+DISTNAME= grpcio-tools-1.20.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-tools/}
@@ -10,11 +10,14 @@ HOMEPAGE= https://grpc.io/
COMMENT= Protobuf code generator for gRPC
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-grpcio>=1.11.0:../../net/py-grpcio
-DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.0:../../devel/py-protobuf
+DEPENDS+= ${PYPKGPREFIX}-grpcio>=1.20.0:../../net/py-grpcio
+DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.1:../../devel/py-protobuf
USE_LANGUAGES= c c++11
+MAKE_ENV+= GRPC_PYTHON_LDFLAGS="-lprotoc ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.protobuf}/lib"
+
+.include "../../devel/protobuf/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"