databases/py-redis3: Add py-redis3 3.5.3 (copied from py-redis)

- Update CONFLICTS_INSTALL
- Add PORTSCOUT
This commit is contained in:
Po-Chuan Hsieh 2023-04-10 04:39:06 +08:00
parent 9677d567c0
commit f7c064d841
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 44 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1647264502
SHA256 (redis-3.5.3.tar.gz) = 0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2
SIZE (redis-3.5.3.tar.gz) = 141112

View file

@ -0,0 +1 @@
This is the Python interface to the Redis key-value store.