git: 948ea40e26a2 - main - databases/py-redis: Relax RUN_DEPENDS for py-xxhash

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 30 Jun 2026 22:17:15 UTC
The branch main has been updated by sunpoet:

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

commit 948ea40e26a26746eb125facfb7d209ff1e0a9be
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-06-30 22:13:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-06-30 22:13:40 +0000

    databases/py-redis: Relax RUN_DEPENDS for py-xxhash
    
    - Bump PORTREVISION for package change
    
    PR:             296097
    Reported by:    <vermiculous@mailbox.org>
---
 databases/py-redis/Makefile                   |  3 ++-
 databases/py-redis/files/patch-pyproject.toml | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile
index 0a467c13ea8d..6bbdc51e2e8e 100644
--- a/databases/py-redis/Makefile
+++ b/databases/py-redis/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	redis
 PORTVERSION=	7.4.0
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -39,7 +40,7 @@ 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}
+XXHASH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xxhash>=3.6.0:devel/py-xxhash@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>
 
diff --git a/databases/py-redis/files/patch-pyproject.toml b/databases/py-redis/files/patch-pyproject.toml
new file mode 100644
index 000000000000..1fc1a496cecd
--- /dev/null
+++ b/databases/py-redis/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2020-02-02 00:00:00 UTC
++++ pyproject.toml
+@@ -38,7 +38,7 @@ xxhash = [
+ ]
+ 
+ xxhash = [
+-    'xxhash~=3.6.0',
++    'xxhash>=3.6.0',
+ ]
+ 
+ ocsp = [