git: 25e1aca9be84 - main - databases/py-redis4: ADdd py-redis4 4.6.0 (copied from py-redis)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Aug 2023 17:12:53 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=25e1aca9be8469fc191e22dcd5f690b0aa1784cb commit 25e1aca9be8469fc191e22dcd5f690b0aa1784cb Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-08-21 17:01:31 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-08-21 17:01:57 +0000 databases/py-redis4: ADdd py-redis4 4.6.0 (copied from py-redis) - Add PORTSCOUT --- databases/Makefile | 1 + databases/py-redis4/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ databases/py-redis4/distinfo | 3 +++ databases/py-redis4/pkg-descr | 1 + 4 files changed, 43 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index c2fbd027c490..60e6efc6ef0c 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -817,6 +817,7 @@ SUBDIR += py-redis SUBDIR += py-redis2 SUBDIR += py-redis3 + SUBDIR += py-redis4 SUBDIR += py-rrdtool SUBDIR += py-sispy SUBDIR += py-south diff --git a/databases/py-redis4/Makefile b/databases/py-redis4/Makefile new file mode 100644 index 000000000000..779dc4d23f98 --- /dev/null +++ b/databases/py-redis4/Makefile @@ -0,0 +1,38 @@ +PORTNAME= redis +PORTVERSION= 4.6.0 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 4 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python client for Redis key-value store +WWW= https://github.com/redis/redis-py + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + redis-server:databases/redis + +USES= python +USE_PYTHON= autoplist concurrent distutils pytest + +NO_ARCH= yes + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis[0-9] + +PORTSCOUT= limit:^4\. + +OPTIONS_DEFINE= HIREDIS +HIREDIS_DESC= High performance response parser + +HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=1.0.0:databases/py-hiredis@${PY_FLAVOR} + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} <= 31102 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.2:devel/py-async_timeout@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/databases/py-redis4/distinfo b/databases/py-redis4/distinfo new file mode 100644 index 000000000000..a6fb3703b05e --- /dev/null +++ b/databases/py-redis4/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688166154 +SHA256 (redis-4.6.0.tar.gz) = 585dc516b9eb042a619ef0a39c3d7d55fe81bdb4df09a52c9cdde0d07bf1aa7d +SIZE (redis-4.6.0.tar.gz) = 4561721 diff --git a/databases/py-redis4/pkg-descr b/databases/py-redis4/pkg-descr new file mode 100644 index 000000000000..2058c4d187a8 --- /dev/null +++ b/databases/py-redis4/pkg-descr @@ -0,0 +1 @@ +This is the Python interface to the Redis key-value store.