Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2023 19:28:44 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e00872bbf903 - main - devel/py-pytest-benchmark: Add ELASTICSEARCH option
Message-ID:  <202303211928.32LJSiYg032413@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e00872bbf9038fd4dcdf07b9c1c8d190fc3508d9

commit e00872bbf9038fd4dcdf07b9c1c8d190fc3508d9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:45:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:20:59 +0000

    devel/py-pytest-benchmark: Add ELASTICSEARCH option
---
 devel/py-pytest-benchmark/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/py-pytest-benchmark/Makefile b/devel/py-pytest-benchmark/Makefile
index 9a4417da8911..89e78f6c2ead 100644
--- a/devel/py-pytest-benchmark/Makefile
+++ b/devel/py-pytest-benchmark/Makefile
@@ -22,4 +22,9 @@ USE_PYTHON=	autoplist concurrent distutils pytest
 NO_ARCH=	yes
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
 
+OPTIONS_DEFINE=	ELASTICSEARCH
+ELASTICSEARCH_DESC=	Elasticsearch support
+
+ELASTICSEARCH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}elasticsearch>=0:textproc/py-elasticsearch@${PY_FLAVOR}
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303211928.32LJSiYg032413>