From 9cd3dd21df1c7e727d1971f75dc3cd8db33ef145 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Fri, 19 Dec 2025 19:10:30 +0800 Subject: [PATCH] devel/py-grpcio-reflection: Add py-grpcio-reflection 1.76.0 Reference package for reflection in GRPC Python. --- devel/Makefile | 1 + devel/py-grpcio-reflection/Makefile | 27 +++++++++++++++++++++++++++ devel/py-grpcio-reflection/distinfo | 3 +++ devel/py-grpcio-reflection/pkg-descr | 1 + 4 files changed, 32 insertions(+) create mode 100644 devel/py-grpcio-reflection/Makefile create mode 100644 devel/py-grpcio-reflection/distinfo create mode 100644 devel/py-grpcio-reflection/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index f98f7caaa11f..b2351bfcbd41 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5027,6 +5027,7 @@ SUBDIR += py-grpc-stubs SUBDIR += py-grpcio SUBDIR += py-grpcio-gcp + SUBDIR += py-grpcio-reflection SUBDIR += py-grpcio-status SUBDIR += py-grpcio-tools SUBDIR += py-gs_api_client diff --git a/devel/py-grpcio-reflection/Makefile b/devel/py-grpcio-reflection/Makefile new file mode 100644 index 000000000000..39b0831e94fa --- /dev/null +++ b/devel/py-grpcio-reflection/Makefile @@ -0,0 +1,27 @@ +PORTNAME= grpcio-reflection +PORTVERSION= 1.76.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= grpcio_reflection-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Standard Protobuf Reflection Service for gRPC +WWW= https://grpc.io/ \ + https://github.com/grpc/grpc/tree/master/src/python/grpcio_reflection + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio-tools>=${PORTVERSION}:devel/py-grpcio-tools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio>=${PORTVERSION}:devel/py-grpcio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=6.31.1,1<7.0.0,1:devel/py-protobuf@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-grpcio-reflection/distinfo b/devel/py-grpcio-reflection/distinfo new file mode 100644 index 000000000000..3ca479a86ad1 --- /dev/null +++ b/devel/py-grpcio-reflection/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1766126740 +SHA256 (grpcio_reflection-1.76.0.tar.gz) = e0e7e49921c2ee951e5ddff0bdbacbd1ac1a70888beb61d567f3d01b799decb1 +SIZE (grpcio_reflection-1.76.0.tar.gz) = 18845 diff --git a/devel/py-grpcio-reflection/pkg-descr b/devel/py-grpcio-reflection/pkg-descr new file mode 100644 index 000000000000..78c1cc090296 --- /dev/null +++ b/devel/py-grpcio-reflection/pkg-descr @@ -0,0 +1 @@ +Reference package for reflection in GRPC Python.