bb579283d0
They now have a tool dependency on py-setuptools instead of a DEPENDS
27 lines
835 B
Makefile
27 lines
835 B
Makefile
# $NetBSD: Makefile,v 1.38 2022/01/04 20:54:27 wiz Exp $
|
|
|
|
DISTNAME= grpcio-tools-1.42.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
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"
|