git: b422e4faa77f - main - databases/py-fakeredis: Update to 2.23.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 May 2024 17:25:20 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b422e4faa77f4f75fc320d4f0886b1d6fddf1128 commit b422e4faa77f4f75fc320d4f0886b1d6fddf1128 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-19 16:17:14 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-19 17:15:28 +0000 databases/py-fakeredis: Update to 2.23.1 Changes: https://github.com/cunla/fakeredis-py/releases --- databases/py-fakeredis/Makefile | 14 ++++++++++---- databases/py-fakeredis/distinfo | 6 +++--- databases/py-fakeredis/files/patch-pyproject.toml | 8 ++++---- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/databases/py-fakeredis/Makefile b/databases/py-fakeredis/Makefile index 543522dd3b0c..847dc8eb5d5b 100644 --- a/databases/py-fakeredis/Makefile +++ b/databases/py-fakeredis/Makefile @@ -1,5 +1,5 @@ PORTNAME= fakeredis -PORTVERSION= 2.22.0 +PORTVERSION= 2.23.1 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=4:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2<3:devel/py-sortedcontainers@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonpath-ng>=1.5<2:devel/py-jsonpath-ng@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}lupa>=1.14<2:lang/py-lupa@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lupa>=2.1<3.0:lang/py-lupa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} @@ -32,7 +32,13 @@ LUA_DESC= Lua support PROBABILISTIC_DESC= Probabilistic data structure support JSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonpath-ng>=1.5<2:devel/py-jsonpath-ng@${PY_FLAVOR} -LUA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lupa>=1.14<3.0:lang/py-lupa@${PY_FLAVOR} +LUA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lupa>=2.1<3.0:lang/py-lupa@${PY_FLAVOR} PROBABILISTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyprobables>=0.6<1:math/py-pyprobables@${PY_FLAVOR} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.7<5:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/databases/py-fakeredis/distinfo b/databases/py-fakeredis/distinfo index aefa5918c0b1..67678f76c9de 100644 --- a/databases/py-fakeredis/distinfo +++ b/databases/py-fakeredis/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713624678 -SHA256 (fakeredis-2.22.0.tar.gz) = d063085fe962d16637cfe21044f277cfc54d6fb456d12a7c87514990c3fac98e -SIZE (fakeredis-2.22.0.tar.gz) = 130074 +TIMESTAMP = 1715842644 +SHA256 (fakeredis-2.23.1.tar.gz) = b45f419e4564ebaaf4a0a8a28d890f5b5797abe14f439969e290f3d57e862c3e +SIZE (fakeredis-2.23.1.tar.gz) = 132829 diff --git a/databases/py-fakeredis/files/patch-pyproject.toml b/databases/py-fakeredis/files/patch-pyproject.toml index 7feaf196da04..533df522fd26 100644 --- a/databases/py-fakeredis/files/patch-pyproject.toml +++ b/databases/py-fakeredis/files/patch-pyproject.toml @@ -1,9 +1,9 @@ ---- pyproject.toml.orig 2024-02-15 14:54:18 UTC +--- pyproject.toml.orig 2024-05-12 23:16:32 UTC +++ pyproject.toml -@@ -46,7 +46,7 @@ lupa = { version = ">=1.14,<3.0", optional = true } - redis = ">=4" +@@ -47,7 +47,7 @@ lupa = { version = ">=2.1,<3.0", optional = true } sortedcontainers = "^2" - lupa = { version = ">=1.14,<3.0", optional = true } + typing_extensions = { version = "^4.7", python = "<3.11" } + lupa = { version = ">=2.1,<3.0", optional = true } -jsonpath-ng = { version = "^1.6", optional = true } +jsonpath-ng = { version = "^1.5", optional = true } pyprobables = { version = "^0.6", optional = true }