git: ec1e2fc17108 - main - www/py-django-redis: Add HIREDIS, LZ4, MSGPACK and PYZSTD options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 11 Jul 2026 12:24:55 UTC
The branch main has been updated by sunpoet:

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

commit ec1e2fc17108b12e417f963c54a0e12235e9b16e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-11 11:47:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-11 12:21:30 +0000

    www/py-django-redis: Add HIREDIS, LZ4, MSGPACK and PYZSTD options
---
 www/py-django-redis/Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/www/py-django-redis/Makefile b/www/py-django-redis/Makefile
index 9ed64a851598..0f943f4cdf7d 100644
--- a/www/py-django-redis/Makefile
+++ b/www/py-django-redis/Makefile
@@ -35,6 +35,17 @@ NO_ARCH=	yes
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*django-redis
 
+OPTIONS_DEFINE=	HIREDIS LZ4 MSGPACK PYZSTD
+HIREDIS_DESC=	Hiredis support
+MSGPACK_DESC=	MessagePack support
+PYZSTD_DESC=	Zstandard support
+
+HIREDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hiredis>=3.2.0:databases/py-hiredis@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}redis>=4.0.2:databases/py-redis@${PY_FLAVOR}
+LZ4_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lz4>=0.15:archivers/py-lz4@${PY_FLAVOR}
+MSGPACK_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msgpack>=0.6.0:devel/py-msgpack@${PY_FLAVOR}
+PYZSTD_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyzstd>=0.15:archivers/py-pyzstd@${PY_FLAVOR}
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 31300