pkgsrc/net/py-grpcio/Makefile
minskim 2dde1f62dd net/py-grpcio: Update to 1.13.0
Notable changes:
- Eliminate grpcio package dependency on protobuf package
- A new grpc.Channel.close method is introduced and correct use of
  gRPC Python now requires that channels be closed after use.
- Python errors have become more verbose.
- GRPC_ENABLE_FORK_SUPPORT=false is no longer required when running
  fork-exec.
- Relying on an explicit with statement or explicitly calling
  Channel.close to release the underlying resources in Channel objects
  is now a required coding practice starting in v1.13.0.
2018-08-04 21:56:47 +00:00

30 lines
955 B
Makefile

# $NetBSD: Makefile,v 1.2 2018/08/04 21:56:47 minskim Exp $
DISTNAME= grpcio-1.13.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
MAINTAINER= kethzer.dr@gmail.com
HOMEPAGE= https://grpc.io/
COMMENT= HTTP/2-based RPC framework
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.0:../../devel/py-protobuf
DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
.include "../../lang/python/pyversion.mk"
.if "${PYPKGPREFIX}" == "py27"
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
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/grpc/buildlink3.mk"
.include "../../net/libcares/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"