summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 22:09:12 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 22:09:12 +0800
commit836ed52e0625c2b287b20aa91d11f6e9a2cf0d57 (patch)
tree08baf0145c56f6547e788230c043c5e940168b3b
parenttextproc/py-cloud_sptheme: Convert to USE_PYTHON=pep517 (diff)
textproc/py-elasticsearch: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--textproc/py-elasticsearch/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/py-elasticsearch/Makefile b/textproc/py-elasticsearch/Makefile
index 72b7a9e31386..f97836d0b67d 100644
--- a/textproc/py-elasticsearch/Makefile
+++ b/textproc/py-elasticsearch/Makefile
@@ -1,5 +1,6 @@
PORTNAME= elasticsearch
PORTVERSION= 7.17.9
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +12,8 @@ WWW= https://github.com/elastic/elasticsearch-py
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.21.1,1<2,1:net/py-urllib3@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
@@ -21,7 +24,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0<3.0.0:www/py-requests@${PY_FLAVOR}
USES= cpe python
-USE_PYTHON= autoplist concurrent distutils nose
+USE_PYTHON= autoplist concurrent nose pep517
NO_ARCH= yes