Date: Fri, 25 Mar 2022 13:43:33 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 04cc96530550 - main - databases/py-redis: Cosmetic change Message-ID: <202203251343.22PDhXSV019543@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=04cc96530550d370c4bccfc269b3a44b04a499ae commit 04cc96530550d370c4bccfc269b3a44b04a499ae Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-25 12:47:32 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-25 13:36:50 +0000 databases/py-redis: Cosmetic change --- databases/py-redis/Makefile | 23 ++++++++++++++--------- databases/py-redis/distinfo | 2 +- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile index 5dd1ab33fe2b..89304f9863d9 100644 --- a/databases/py-redis/Makefile +++ b/databases/py-redis/Makefile @@ -13,24 +13,29 @@ COMMENT= Python client for Redis key-value store LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=2.7.0:devel/py-pytest@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} \ redis-server:databases/redis USES= python:3.6+ USE_PYTHON= distutils autoplist concurrent -OPTIONS_DEFINE= HIREDIS +NO_ARCH= yes + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis2 -HIREDIS_DESC= High performance response parser (via hiredis) +OPTIONS_DEFINE= HIREDIS +HIREDIS_DESC= High performance response parser HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0.1.3:databases/py-hiredis@${PY_FLAVOR} -NO_ARCH= yes -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis2 +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif -# Needs redis-server to be running do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/databases/py-redis/distinfo b/databases/py-redis/distinfo index 395e5ca00294..71e7e1348570 100644 --- a/databases/py-redis/distinfo +++ b/databases/py-redis/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1591983753 +TIMESTAMP = 1647264502 SHA256 (redis-3.5.3.tar.gz) = 0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2 SIZE (redis-3.5.3.tar.gz) = 141112
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203251343.22PDhXSV019543>