git: 803921f2f1af - main - devel/py-grpc-stubs: Add py-grpc-stubs 1.24.6

Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Jul 21 21:14:32 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=803921f2f1af88a723cee611c683f26c0a54097c

commit 803921f2f1af88a723cee611c683f26c0a54097c
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-21 21:12:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-21 21:12:49 +0000

    devel/py-grpc-stubs: Add py-grpc-stubs 1.24.6
    
    gRPC Typing Stubs for Python is a PEP-561-compliant stub-only package which
    provides type information of gRPC.
    
    WWW: https://github.com/shabbyrobe/grpc-stubs
---
 devel/Makefile                |  1 +
 devel/py-grpc-stubs/Makefile  | 23 +++++++++++++++++++++++
 devel/py-grpc-stubs/distinfo  |  3 +++
 devel/py-grpc-stubs/pkg-descr |  4 ++++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 25bc13868910..5a05792b69b6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4510,6 +4510,7 @@
     SUBDIR += py-greenlet
     SUBDIR += py-grizzled
     SUBDIR += py-grpc-google-iam-v1
+    SUBDIR += py-grpc-stubs
     SUBDIR += py-grpcio
     SUBDIR += py-grpcio-gcp
     SUBDIR += py-grpcio-tools
diff --git a/devel/py-grpc-stubs/Makefile b/devel/py-grpc-stubs/Makefile
new file mode 100644
index 000000000000..c5b7ab7c640a
--- /dev/null
+++ b/devel/py-grpc-stubs/Makefile
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME=	grpc-stubs
+PORTVERSION=	1.24.6
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Mypy stubs for gRPC
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}grpcio>=0:devel/py-grpcio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mypy>=0.730:devel/py-mypy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-grpc-stubs/distinfo b/devel/py-grpc-stubs/distinfo
new file mode 100644
index 000000000000..9c370feee497
--- /dev/null
+++ b/devel/py-grpc-stubs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626891022
+SHA256 (grpc-stubs-1.24.6.tar.gz) = 98f307afcb180676ce3181262d01a7f1b0773b4c4c92724a761030ba2c44ff6b
+SIZE (grpc-stubs-1.24.6.tar.gz) = 8595
diff --git a/devel/py-grpc-stubs/pkg-descr b/devel/py-grpc-stubs/pkg-descr
new file mode 100644
index 000000000000..b161274c8036
--- /dev/null
+++ b/devel/py-grpc-stubs/pkg-descr
@@ -0,0 +1,4 @@
+gRPC Typing Stubs for Python is a PEP-561-compliant stub-only package which
+provides type information of gRPC.
+
+WWW: https://github.com/shabbyrobe/grpc-stubs


More information about the dev-commits-ports-main mailing list