git: 72ce3dbfbbdc - main - devel/py-anytree: Allow build with py-poetry-core 2.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Feb 2025 16:10:26 UTC
The branch main has been updated by sunpoet:

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

commit 72ce3dbfbbdc1031661f43688303db1a506ba786
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-03 15:39:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-03 15:54:27 +0000

    devel/py-anytree: Allow build with py-poetry-core 2.0.0+
    
    - Bump PORTREVISION for package change
---
 devel/py-poetry2setup/Makefile                   |  4 ++--
 devel/py-poetry2setup/files/patch-pyproject.toml | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/devel/py-poetry2setup/Makefile b/devel/py-poetry2setup/Makefile
index 6f2c411af2d6..bb2d59efd166 100644
--- a/devel/py-poetry2setup/Makefile
+++ b/devel/py-poetry2setup/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	poetry2setup
 PORTVERSION=	1.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0<2.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/devel/py-poetry2setup/files/patch-pyproject.toml b/devel/py-poetry2setup/files/patch-pyproject.toml
new file mode 100644
index 000000000000..21c29162baec
--- /dev/null
+++ b/devel/py-poetry2setup/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2022-10-28 06:27:18 UTC
++++ pyproject.toml
+@@ -12,7 +12,7 @@ python = "^3.6"
+ [tool.poetry.dependencies]
+ python = "^3.6"
+ 
+-poetry-core = "^1.0.0"
++poetry-core = ">=1.0.0"
+ 
+ [tool.poetry.dev-dependencies]
+