git: 000b9458cae1 - main - databases/py-fakeredis: Update to 2.30.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 26 Jun 2025 11:31:58 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=000b9458cae14f17c6415d0feb8d2c58928cc639

commit 000b9458cae14f17c6415d0feb8d2c58928cc639
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-26 09:59:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-26 11:29:41 +0000

    databases/py-fakeredis: Update to 2.30.0
    
    Changes:        https://github.com/cunla/fakeredis-py/releases
---
 databases/py-fakeredis/Makefile                   |  4 ++--
 databases/py-fakeredis/distinfo                   |  6 +++---
 databases/py-fakeredis/files/patch-pyproject.toml | 18 +++++++++---------
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/databases/py-fakeredis/Makefile b/databases/py-fakeredis/Makefile
index 96eab6d8a6ee..80ddc7891b6a 100644
--- a/databases/py-fakeredis/Makefile
+++ b/databases/py-fakeredis/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fakeredis
-PORTVERSION=	2.29.0
+PORTVERSION=	2.30.0
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ LICENSE=	BSD3CLAUSE MIT
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}redis>=4.3:databases/py-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2<3:devel/py-sortedcontainers@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonpath-ng>=1.5<2:devel/py-jsonpath-ng@${PY_FLAVOR} \
diff --git a/databases/py-fakeredis/distinfo b/databases/py-fakeredis/distinfo
index 65aa317ba83c..96349fe10757 100644
--- a/databases/py-fakeredis/distinfo
+++ b/databases/py-fakeredis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747546478
-SHA256 (fakeredis-2.29.0.tar.gz) = 159cebf2c53e2c2bd7d18220fa93aa5f1d7152f6b6dd7896c46234d674342398
-SIZE (fakeredis-2.29.0.tar.gz) = 162915
+TIMESTAMP = 1750188048
+SHA256 (fakeredis-2.30.0.tar.gz) = 77ca04d4925daa0569ff000a960f47e49de15a4bd37facafe4f3f3ecc66bb3ef
+SIZE (fakeredis-2.30.0.tar.gz) = 167434
diff --git a/databases/py-fakeredis/files/patch-pyproject.toml b/databases/py-fakeredis/files/patch-pyproject.toml
index 533df522fd26..696859714892 100644
--- a/databases/py-fakeredis/files/patch-pyproject.toml
+++ b/databases/py-fakeredis/files/patch-pyproject.toml
@@ -1,11 +1,11 @@
---- pyproject.toml.orig	2024-05-12 23:16:32 UTC
+--- pyproject.toml.orig	2020-02-02 00:00:00 UTC
 +++ pyproject.toml
-@@ -47,7 +47,7 @@ lupa = { version = ">=2.1,<3.0", optional = true }
- sortedcontainers = "^2"
- 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 }
+@@ -48,7 +48,7 @@ lua = ["lupa>=2.1,<3.0"]
  
- [tool.poetry.extras]
+ [project.optional-dependencies]
+ lua = ["lupa>=2.1,<3.0"]
+-json = ["jsonpath-ng~=1.6"]
++json = ["jsonpath-ng~=1.5"]
+ bf = ["pyprobables>=0.6"]
+ cf = ["pyprobables>=0.6"]
+ probabilistic = ["pyprobables>=0.6"]