databases/py-redis5: Add py-redis5 5.3.0 (copied from py-redis)

- Update WWW
- Add PORTSCOUT
This commit is contained in:
Po-Chuan Hsieh
2025-06-01 23:48:56 +08:00
parent b1ec099e21
commit dbd60c098b
5 changed files with 61 additions and 0 deletions
+1
View File
@@ -817,6 +817,7 @@
SUBDIR += py-rb
SUBDIR += py-redis
SUBDIR += py-redis2
SUBDIR += py-redis5
SUBDIR += py-rrdtool
SUBDIR += py-schemachange
SUBDIR += py-sispy
+43
View File
@@ -0,0 +1,43 @@
PORTNAME= redis
PORTVERSION= 5.3.0
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 5
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}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.9.0:www/py-pyjwt@${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:^5\.
OPTIONS_DEFINE= HIREDIS
HIREDIS_DESC= High performance response parser
HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=3.0.0:databases/py-hiredis@${PY_FLAVOR}
.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>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1747546484
SHA256 (redis-5.3.0.tar.gz) = 8d69d2dde11a12dc85d0dbf5c45577a5af048e2456f7077d87ad35c1c81c310e
SIZE (redis-5.3.0.tar.gz) = 4626288
+13
View File
@@ -0,0 +1,13 @@
Obtained from: https://github.com/redis/redis-py/commit/fdfc0d2ff41687e7b77c794101114f47d9d5a560
--- setup.py.orig 2025-04-30 14:54:05 UTC
+++ setup.py
@@ -38,7 +38,7 @@ setup(
python_requires=">=3.8",
install_requires=[
'async-timeout>=4.0.3; python_full_version<"3.11.3"',
- "PyJWT~=2.9.0",
+ "PyJWT>=2.9.0",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
+1
View File
@@ -0,0 +1 @@
This is the Python interface to the Redis key-value store.