git: d112c67d23b9 - main - devel/py-cleo: Change RUN_DEPENDS from py-rapidfuzz2 to py-rapidfuzz

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 26 Aug 2023 09:30:42 UTC
The branch main has been updated by sunpoet:

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

commit d112c67d23b94e2dc021a57e5b78105c101f9559
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-26 09:27:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-26 09:27:29 +0000

    devel/py-cleo: Change RUN_DEPENDS from py-rapidfuzz2 to py-rapidfuzz
    
    - Bump PORTREVISION for dependency change
    
    Obtained from:  https://github.com/python-poetry/cleo/commit/57c6b9ee79164c099aed385413566ac3f3d2af4e
---
 devel/py-cleo/Makefile                   |  6 +++---
 devel/py-cleo/files/patch-pyproject.toml | 13 +++++++++++++
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/devel/py-cleo/Makefile b/devel/py-cleo/Makefile
index afee7d6817b0..ebe0a6957944 100644
--- a/devel/py-cleo/Makefile
+++ b/devel/py-cleo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cleo
 PORTVERSION=	2.0.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,8 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}crashtest>=0.4.1<0.5.0:devel/py-crashtest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}rapidfuzz2>=2.2.0<3.0.0:devel/py-rapidfuzz2@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}crashtest>=0.4.1<0.5:devel/py-crashtest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rapidfuzz>=3.0.0<4:devel/py-rapidfuzz@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/devel/py-cleo/files/patch-pyproject.toml b/devel/py-cleo/files/patch-pyproject.toml
new file mode 100644
index 000000000000..fae8a620ca1e
--- /dev/null
+++ b/devel/py-cleo/files/patch-pyproject.toml
@@ -0,0 +1,13 @@
+Obtained from:	https://github.com/python-poetry/cleo/commit/57c6b9ee79164c099aed385413566ac3f3d2af4e
+
+--- pyproject.toml.orig	2022-11-22 23:29:56 UTC
++++ pyproject.toml
+@@ -33,7 +33,7 @@ classifiers = [
+ [tool.poetry.dependencies]
+ python = "^3.7"
+ crashtest = "^0.4.1"
+-rapidfuzz = "^2.2.0"
++rapidfuzz = "^3.0.0"
+ 
+ [tool.poetry.group.dev.dependencies]
+ pytest = "^7.1.2"