git: 53b178725677 - main - textproc/py-elastic-transport: Add py-elastic-transport 8.17.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 02 Sep 2025 18:13:22 UTC
The branch main has been updated by sunpoet:

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

commit 53b1787256775c3248b40463422147809563bae3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-02 17:58:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-02 17:58:47 +0000

    textproc/py-elastic-transport: Add py-elastic-transport 8.17.1
    
    Transport classes and utilities shared among Python Elastic client libraries
    
    This library was lifted from elasticsearch-py and then transformed to be used
    across all Elastic services rather than only Elasticsearch.
---
 textproc/Makefile                       |  1 +
 textproc/py-elastic-transport/Makefile  | 26 ++++++++++++++++++++++++++
 textproc/py-elastic-transport/distinfo  |  3 +++
 textproc/py-elastic-transport/pkg-descr |  4 ++++
 4 files changed, 34 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index b4e20caed81a..a152abed75da 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1375,6 +1375,7 @@
     SUBDIR += py-dparse
     SUBDIR += py-duecredit
     SUBDIR += py-ebcdic
+    SUBDIR += py-elastic-transport
     SUBDIR += py-elasticsearch
     SUBDIR += py-elasticsearch-async
     SUBDIR += py-elasticsearch-curator
diff --git a/textproc/py-elastic-transport/Makefile b/textproc/py-elastic-transport/Makefile
new file mode 100644
index 000000000000..7e2340e807c9
--- /dev/null
+++ b/textproc/py-elastic-transport/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	elastic-transport
+PORTVERSION=	8.17.1
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	elastic_transport-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Transport classes and utilities shared among Python Elastic client libraries
+WWW=		https://elastic-transport-python.readthedocs.io/en/latest/ \
+		https://github.com/elastic/elastic-transport-python
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.2,1<3,1:net/py-urllib3@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-elastic-transport/distinfo b/textproc/py-elastic-transport/distinfo
new file mode 100644
index 000000000000..62d8b2c356d7
--- /dev/null
+++ b/textproc/py-elastic-transport/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755062436
+SHA256 (elastic_transport-8.17.1.tar.gz) = 5edef32ac864dca8e2f0a613ef63491ee8d6b8cfb52881fa7313ba9290cac6d2
+SIZE (elastic_transport-8.17.1.tar.gz) = 73425
diff --git a/textproc/py-elastic-transport/pkg-descr b/textproc/py-elastic-transport/pkg-descr
new file mode 100644
index 000000000000..f1bfec4d7b81
--- /dev/null
+++ b/textproc/py-elastic-transport/pkg-descr
@@ -0,0 +1,4 @@
+Transport classes and utilities shared among Python Elastic client libraries
+
+This library was lifted from elasticsearch-py and then transformed to be used
+across all Elastic services rather than only Elasticsearch.