summaryrefslogtreecommitdiff
path: root/textproc/py-elasticsearch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/py-elasticsearch/Makefile2
-rw-r--r--textproc/py-elasticsearch7/Makefile3
-rw-r--r--textproc/py-elasticsearch7/files/patch-setup.py11
3 files changed, 14 insertions, 2 deletions
diff --git a/textproc/py-elasticsearch/Makefile b/textproc/py-elasticsearch/Makefile
index 44d7b44ae1d7..15516820e30c 100644
--- a/textproc/py-elasticsearch/Makefile
+++ b/textproc/py-elasticsearch/Makefile
@@ -6,7 +6,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Official Python low-level client for Elasticsearch
-WWW= https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html \
+WWW= https://www.elastic.co/docs/reference/elasticsearch/clients/python \
https://github.com/elastic/elasticsearch-py
LICENSE= APACHE20
diff --git a/textproc/py-elasticsearch7/Makefile b/textproc/py-elasticsearch7/Makefile
index 8c3af7b11b90..85bd918e6217 100644
--- a/textproc/py-elasticsearch7/Makefile
+++ b/textproc/py-elasticsearch7/Makefile
@@ -1,5 +1,6 @@
PORTNAME= elasticsearch
PORTVERSION= 7.17.12
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +17,7 @@ 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.21.1,1<2,1:net/py-urllib3@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1,1<3,1:net/py-urllib3@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} \
diff --git a/textproc/py-elasticsearch7/files/patch-setup.py b/textproc/py-elasticsearch7/files/patch-setup.py
new file mode 100644
index 000000000000..93b4aef8af17
--- /dev/null
+++ b/textproc/py-elasticsearch7/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2024-09-19 07:26:17 UTC
++++ setup.py
+@@ -52,7 +52,7 @@ install_requires = [
+ ]
+
+ install_requires = [
+- "urllib3>=1.21.1, <2",
++ "urllib3>=1.21.1, <3",
+ "certifi",
+ ]
+ tests_require = [