git: 46079bb29380 - main - textproc/py-opensearch-py: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Feb 2023 13:28:35 UTC
The branch main has been updated by antoine:
URL: https://cgit.FreeBSD.org/ports/commit/?id=46079bb29380e32ac788af76ebf74870f5dcb46f
commit 46079bb29380e32ac788af76ebf74870f5dcb46f
Author: Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2023-02-22 13:28:02 +0000
Commit: Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2023-02-22 13:28:02 +0000
textproc/py-opensearch-py: new port
Python Client for OpenSearch
WWW: https://github.com/opensearch-project/opensearch-py
---
textproc/Makefile | 1 +
textproc/py-opensearch-py/Makefile | 27 +++++++++++++++++++++++++++
textproc/py-opensearch-py/distinfo | 3 +++
textproc/py-opensearch-py/pkg-descr | 1 +
4 files changed, 32 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 94bf087dd26a..370f3f6c9fe2 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1411,6 +1411,7 @@
SUBDIR += py-numpydoc
SUBDIR += py-ocrmypdf
SUBDIR += py-openpyxl
+ SUBDIR += py-opensearch-py
SUBDIR += py-openstackdocstheme
SUBDIR += py-openstep-plist
SUBDIR += py-orange3-text
diff --git a/textproc/py-opensearch-py/Makefile b/textproc/py-opensearch-py/Makefile
new file mode 100644
index 000000000000..111f5050eae6
--- /dev/null
+++ b/textproc/py-opensearch-py/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= opensearch-py
+PORTVERSION= 2.1.1
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= Python Client for OpenSearch
+WWW= https://github.com/opensearch-project/opensearch-py
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= ASIO
+
+ASIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/textproc/py-opensearch-py/distinfo b/textproc/py-opensearch-py/distinfo
new file mode 100644
index 000000000000..3ec6a5610a23
--- /dev/null
+++ b/textproc/py-opensearch-py/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677014171
+SHA256 (opensearch-py-2.1.1.tar.gz) = dd54a50c6771bc2582741bfdcf629b8d7eed409ae7fc2722249e53f9a10de0d8
+SIZE (opensearch-py-2.1.1.tar.gz) = 141659
diff --git a/textproc/py-opensearch-py/pkg-descr b/textproc/py-opensearch-py/pkg-descr
new file mode 100644
index 000000000000..7ba8917cf8db
--- /dev/null
+++ b/textproc/py-opensearch-py/pkg-descr
@@ -0,0 +1 @@
+Python Client for OpenSearch