summaryrefslogtreecommitdiff
path: root/databases/py-redis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-redis/Makefile')
-rw-r--r--databases/py-redis/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile
index ba9ae67a85bb..d2501f47fec0 100644
--- a/databases/py-redis/Makefile
+++ b/databases/py-redis/Makefile
@@ -1,18 +1,18 @@
PORTNAME= redis
-PORTVERSION= 5.2.1
+PORTVERSION= 6.2.0
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python client for Redis key-value store
-WWW= https://github.com/redis/redis-py
+WWW= https://redis.readthedocs.io/en/latest/ \
+ https://github.com/redis/redis-py
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
redis-server:databases/redis
@@ -23,10 +23,16 @@ NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis[0-9]
-OPTIONS_DEFINE= HIREDIS
+OPTIONS_DEFINE= HIREDIS JWT OCSP
HIREDIS_DESC= High performance response parser
-
-HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=3.0.0:databases/py-hiredis@${PY_FLAVOR}
+JWT_DESC= Authentication token
+OCSP_DESC= Online Certificate Status Protocol support
+
+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}openssl>=20.0.1,1:security/py-openssl@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR}
+OCSP_USE= PYTHON=cryptography
.include <bsd.port.pre.mk>