aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-09-02 17:58:47 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-09-02 17:58:47 +0000
commit53b1787256775c3248b40463422147809563bae3 (patch)
tree527b37dc0c5ff2429fa9fc89abdae0dcde1a29c0
parentb68611e8582f587ff6c40aeb6c7d53fed3317a66 (diff)
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.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-elastic-transport/Makefile26
-rw-r--r--textproc/py-elastic-transport/distinfo3
-rw-r--r--textproc/py-elastic-transport/pkg-descr4
4 files changed, 34 insertions, 0 deletions
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.