8480c65c7c
Release v1.38.1 Backport 26430 and 26435 to v1.38.x.
26 lines
821 B
Makefile
26 lines
821 B
Makefile
# $NetBSD: Makefile,v 1.30 2021/06/29 13:32:42 adam Exp $
|
|
|
|
DISTNAME= grpcio-tools-1.38.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-tools/}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://grpc.io/
|
|
COMMENT= Protobuf code generator for gRPC
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-grpcio>=${PKGVERSION_NOREV}:../../net/py-grpcio
|
|
DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.1:../../devel/py-protobuf
|
|
|
|
CHECK_PORTABILITY_SKIP= third_party/protobuf/*.sh
|
|
|
|
USE_LANGUAGES= c c++11
|
|
MAKE_ENV+= GRPC_PYTHON_LDFLAGS="-lprotoc ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.protobuf}/lib"
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
.include "../../devel/protobuf/buildlink3.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|