Skip to content

Commit

Permalink
devel/py-grpc-stubs: Add py-grpc-stubs 1.24.6
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sunpoet committed Jul 21, 2021
1 parent 75752cd commit 803921f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions devel/py-grpc-stubs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= grpc-stubs
PORTVERSION= 1.24.6
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@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>
3 changes: 3 additions & 0 deletions devel/py-grpc-stubs/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1626891022
SHA256 (grpc-stubs-1.24.6.tar.gz) = 98f307afcb180676ce3181262d01a7f1b0773b4c4c92724a761030ba2c44ff6b
SIZE (grpc-stubs-1.24.6.tar.gz) = 8595
4 changes: 4 additions & 0 deletions devel/py-grpc-stubs/pkg-descr
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 803921f

Please sign in to comment.