git: d5a829df9af3 - main - devel/py-etcd3gw: New port: Python client for etcd3 grpc-gateway v3 API

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sat, 03 May 2025 19:27:21 UTC
The branch main has been updated by acm:

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

commit d5a829df9af3a13ea7fdf2ab77437bce40d8fbac
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2025-05-03 19:26:18 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-05-03 19:26:18 +0000

    devel/py-etcd3gw: New port: Python client for etcd3 grpc-gateway v3 API
    
    etcd3gw (or the gateway python client) is a library that provides
    a python client for etcd3 grpc-gateway v3 API. Using this library
    you can manipulate an instance or cluster etcd in a pythonic way.
    
    PR:             285752
---
 devel/Makefile             |  1 +
 devel/py-etcd3gw/Makefile  | 22 ++++++++++++++++++++++
 devel/py-etcd3gw/distinfo  |  3 +++
 devel/py-etcd3gw/pkg-descr |  3 +++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index a4f01152830b..cbe4b252ff60 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4842,6 +4842,7 @@
     SUBDIR += py-epc
     SUBDIR += py-epdb
     SUBDIR += py-epsilon
+    SUBDIR += py-etcd3gw
     SUBDIR += py-etils
     SUBDIR += py-etuples
     SUBDIR += py-evdev
diff --git a/devel/py-etcd3gw/Makefile b/devel/py-etcd3gw/Makefile
new file mode 100644
index 000000000000..6b26b347c2a5
--- /dev/null
+++ b/devel/py-etcd3gw/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	etcd3gw
+DISTVERSION=	2.4.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	DtxdF@disroot.org
+COMMENT=	Python client for etcd3 grpc-gateway v3 API
+WWW=		https://docs.openstack.org/etcd3gw/latest/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}futurist>=0:devel/py-futurist@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-etcd3gw/distinfo b/devel/py-etcd3gw/distinfo
new file mode 100644
index 000000000000..127fdc3fe5a9
--- /dev/null
+++ b/devel/py-etcd3gw/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1743210063
+SHA256 (etcd3gw-2.4.2.tar.gz) = 6c6e9e42b810ee9a9455dd342de989f1fab637a94daa4fc34cacb248a54473fa
+SIZE (etcd3gw-2.4.2.tar.gz) = 29840
diff --git a/devel/py-etcd3gw/pkg-descr b/devel/py-etcd3gw/pkg-descr
new file mode 100644
index 000000000000..57f9d93fda04
--- /dev/null
+++ b/devel/py-etcd3gw/pkg-descr
@@ -0,0 +1,3 @@
+etcd3gw (or the gateway python client) is a library that provides
+a python client for etcd3 grpc-gateway v3 API. Using this library
+you can manipulate an instance or cluster etcd in a pythonic way.