git: f7c064d84132 - main - databases/py-redis3: Add py-redis3 3.5.3 (copied from py-redis)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 20:42:15 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f7c064d841320f99f68c02ab83c4d936bb4080d9 commit f7c064d841320f99f68c02ab83c4d936bb4080d9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-09 20:39:06 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-09 20:39:06 +0000 databases/py-redis3: Add py-redis3 3.5.3 (copied from py-redis) - Update CONFLICTS_INSTALL - Add PORTSCOUT --- databases/Makefile | 1 + databases/py-redis3/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ databases/py-redis3/distinfo | 3 +++ databases/py-redis3/pkg-descr | 1 + 4 files changed, 44 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 9edea03dced9..851f8950f3cf 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -808,6 +808,7 @@ SUBDIR += py-rb SUBDIR += py-redis SUBDIR += py-redis2 + SUBDIR += py-redis3 SUBDIR += py-rrdtool SUBDIR += py-sispy SUBDIR += py-south diff --git a/databases/py-redis3/Makefile b/databases/py-redis3/Makefile new file mode 100644 index 000000000000..a2a2eadccf20 --- /dev/null +++ b/databases/py-redis3/Makefile @@ -0,0 +1,39 @@ +PORTNAME= redis +PORTVERSION= 3.5.3 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 3 + +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:3.6+ +USE_PYTHON= autoplist concurrent distutils pytest + +NO_ARCH= yes + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis \ + ${PYTHON_PKGNAMEPREFIX}redis2 + +PORTSCOUT= limit:^3\. + +OPTIONS_DEFINE= HIREDIS +HIREDIS_DESC= High performance response parser + +HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0.1.3:databases/py-hiredis@${PY_FLAVOR} + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/databases/py-redis3/distinfo b/databases/py-redis3/distinfo new file mode 100644 index 000000000000..71e7e1348570 --- /dev/null +++ b/databases/py-redis3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1647264502 +SHA256 (redis-3.5.3.tar.gz) = 0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2 +SIZE (redis-3.5.3.tar.gz) = 141112 diff --git a/databases/py-redis3/pkg-descr b/databases/py-redis3/pkg-descr new file mode 100644 index 000000000000..2058c4d187a8 --- /dev/null +++ b/databases/py-redis3/pkg-descr @@ -0,0 +1 @@ +This is the Python interface to the Redis key-value store.