git: 22be4964479f - main - databases/py-redis: Add OTEL and XXHASH options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Mar 2026 14:48:13 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=22be4964479fb6cc96d15e1487326d611a16481d
commit 22be4964479fb6cc96d15e1487326d611a16481d
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-03-12 14:18:05 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-03-12 14:46:57 +0000
databases/py-redis: Add OTEL and XXHASH options
---
databases/py-redis/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile
index 3db3a532155b..c2a49ec3a8f1 100644
--- a/databases/py-redis/Makefile
+++ b/databases/py-redis/Makefile
@@ -24,16 +24,22 @@ NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis \
${PYTHON_PKGNAMEPREFIX}redis[0-9]
-OPTIONS_DEFINE= HIREDIS JWT OCSP
+OPTIONS_DEFINE= HIREDIS JWT OCSP OTEL XXHASH
HIREDIS_DESC= High performance response parser
JWT_DESC= Authentication token
OCSP_DESC= Online Certificate Status Protocol support
+OTEL_DESC= OpenTelemetry support
+XXHASH_DESC= Compute digest locally via xxHash
HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=3.2.0:databases/py-hiredis@${PY_FLAVOR}
JWT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.9.0:www/py-pyjwt@${PY_FLAVOR}
OCSP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyopenssl>=20.0.1,1:security/py-pyopenssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR}
OCSP_USE= PYTHON=cryptography
+OTEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1.39.1:devel/py-opentelemetry-api@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentelemetry-exporter-otlp-proto-http>=1.39.1:devel/py-opentelemetry-exporter-otlp-proto-http@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentelemetry-sdk>=1.39.1:devel/py-opentelemetry-sdk@${PY_FLAVOR}
+XXHASH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xxhash>=3.6.0<3.7:devel/py-xxhash@${PY_FLAVOR}
.include <bsd.port.pre.mk>