git: 9cd3dd21df1c - main - devel/py-grpcio-reflection: Add py-grpcio-reflection 1.76.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 19 Dec 2025 11:19:08 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9cd3dd21df1c7e727d1971f75dc3cd8db33ef145

commit 9cd3dd21df1c7e727d1971f75dc3cd8db33ef145
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-19 11:10:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-19 11:10:30 +0000

    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(+)

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 <bsd.port.mk>
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.