Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2021 14:47:07 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9074b47edabe - main - devel/py-gapic-generator: Add py-gapic-generator 0.35.10
Message-ID:  <202106101447.15AEl7HM047203@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9074b47edabebe0a3e2ef263d4800f9e5ad81152

commit 9074b47edabebe0a3e2ef263d4800f9e5ad81152
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-06-10 14:25:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-06-10 14:45:56 +0000

    devel/py-gapic-generator: Add py-gapic-generator 0.35.10
    
    This is a generator for API client libraries for APIs specified by protocol
    buffers, such as those inside Google. It takes a protocol buffer (with
    particular annotations) and uses it to generate a client library.
    
    WWW: https://github.com/googleapis/gapic-generator-python
---
 devel/Makefile                     |  1 +
 devel/py-gapic-generator/Makefile  | 29 +++++++++++++++++++++++++++++
 devel/py-gapic-generator/distinfo  |  3 +++
 devel/py-gapic-generator/pkg-descr |  5 +++++
 4 files changed, 38 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c239490e3a63..af38e957f5ec 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4472,6 +4472,7 @@
     SUBDIR += py-fypp
     SUBDIR += py-game
     SUBDIR += py-game_sdl2
+    SUBDIR += py-gapic-generator
     SUBDIR += py-gast
     SUBDIR += py-genson
     SUBDIR += py-genty
diff --git a/devel/py-gapic-generator/Makefile b/devel/py-gapic-generator/Makefile
new file mode 100644
index 000000000000..d33998fd4466
--- /dev/null
+++ b/devel/py-gapic-generator/Makefile
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	gapic-generator
+PORTVERSION=	0.35.10
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python client library generator for APIs defined by protocolbuffers
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}google-api-core>=1.17.0:www/py-google-api-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>=1.6.0:devel/py-googleapis-common-protos@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}grpcio>=1.24.3:devel/py-grpcio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}protobuf>=3.12.0:devel/py-protobuf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pypandoc>=1.4:textproc/py-pypandoc@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=5.1.1:devel/py-yaml@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-gapic-generator/distinfo b/devel/py-gapic-generator/distinfo
new file mode 100644
index 000000000000..bcd69b98b07d
--- /dev/null
+++ b/devel/py-gapic-generator/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622213916
+SHA256 (gapic-generator-0.35.10.tar.gz) = 838815a5c37469b7d9fd574006001949a1555fc35e82aa6a8dc54c535e37a03a
+SIZE (gapic-generator-0.35.10.tar.gz) = 142425
diff --git a/devel/py-gapic-generator/pkg-descr b/devel/py-gapic-generator/pkg-descr
new file mode 100644
index 000000000000..7aa5c0ca3eff
--- /dev/null
+++ b/devel/py-gapic-generator/pkg-descr
@@ -0,0 +1,5 @@
+This is a generator for API client libraries for APIs specified by protocol
+buffers, such as those inside Google. It takes a protocol buffer (with
+particular annotations) and uses it to generate a client library.
+
+WWW: https://github.com/googleapis/gapic-generator-python



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106101447.15AEl7HM047203>