aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-redis6
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-redis6')
-rw-r--r--databases/py-redis6/Makefile47
-rw-r--r--databases/py-redis6/distinfo3
-rw-r--r--databases/py-redis6/pkg-descr1
3 files changed, 51 insertions, 0 deletions
diff --git a/databases/py-redis6/Makefile b/databases/py-redis6/Makefile
new file mode 100644
index 000000000000..bd3f14e660a3
--- /dev/null
+++ b/databases/py-redis6/Makefile
@@ -0,0 +1,47 @@
+PORTNAME= redis
+PORTVERSION= 6.4.0
+CATEGORIES= databases python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 6
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python client for Redis key-value store
+WWW= https://redis.readthedocs.io/en/latest/ \
+ https://github.com/redis/redis-py
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+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
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517 pytest
+
+NO_ARCH= yes
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis \
+ ${PYTHON_PKGNAMEPREFIX}redis[0-9]
+
+PORTSCOUT= limit:^6\.
+
+OPTIONS_DEFINE= HIREDIS JWT OCSP
+HIREDIS_DESC= High performance response parser
+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}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
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31103
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.3:devel/py-async_timeout@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/py-redis6/distinfo b/databases/py-redis6/distinfo
new file mode 100644
index 000000000000..bcd7efd4c762
--- /dev/null
+++ b/databases/py-redis6/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757120614
+SHA256 (redis-6.4.0.tar.gz) = b01bc7282b8444e28ec36b261df5375183bb47a07eb9c603f284e89cbc5ef010
+SIZE (redis-6.4.0.tar.gz) = 4647399
diff --git a/databases/py-redis6/pkg-descr b/databases/py-redis6/pkg-descr
new file mode 100644
index 000000000000..2058c4d187a8
--- /dev/null
+++ b/databases/py-redis6/pkg-descr
@@ -0,0 +1 @@
+This is the Python interface to the Redis key-value store.