summaryrefslogtreecommitdiff
path: root/textproc/py-elastic-transport
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-elastic-transport')
-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
3 files changed, 33 insertions, 0 deletions
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.