Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2026 05:31:13 +0000
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: 685451bc3e08 - main - devel/py-poetry: Allow build with py-poetry-core 2.4.1+
Message-ID:  <6a13dea1.3667a.409a4563@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit 685451bc3e080d74e2fc94d6e29280445ff41c0e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-25 05:24:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-25 05:27:55 +0000

    devel/py-poetry: Allow build with py-poetry-core 2.4.1+
    
    - Bump PORTREVISION for package change
---
 devel/py-poetry/Makefile                   |  3 ++-
 devel/py-poetry/files/patch-pyproject.toml | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/py-poetry/Makefile b/devel/py-poetry/Makefile
index 2050b400e6cc..0f67cc27ed2f 100644
--- a/devel/py-poetry/Makefile
+++ b/devel/py-poetry/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	poetry
 PORTVERSION=	2.4.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
 		https://github.com/python-poetry/poetry/releases/download/${PORTVERSION}/
@@ -26,7 +27,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}build>=1.2.1<2.0.0:devel/py-build@${PY_FLAVO
 		${PYTHON_PKGNAMEPREFIX}pbs-installer>=2025.6.10:devel/py-pbs-installer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pkginfo>=1.12<2.0:sysutils/py-pkginfo@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}platformdirs>=3.0.0<5:devel/py-platformdirs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}poetry-core>=${PORTVERSION:R}.0<${PORTVERSION:R}.0_99:devel/py-poetry-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}poetry-core>=${PORTVERSION:R}.0:devel/py-poetry-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyproject-hooks>=1.0.0<2.0.0:devel/py-pyproject-hooks@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.26<3.0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=1.0.0<2.0.0:www/py-requests-toolbelt@${PY_FLAVOR} \
diff --git a/devel/py-poetry/files/patch-pyproject.toml b/devel/py-poetry/files/patch-pyproject.toml
new file mode 100644
index 000000000000..6777741ab588
--- /dev/null
+++ b/devel/py-poetry/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	1970-01-01 00:00:00 UTC
++++ pyproject.toml
+@@ -4,7 +4,7 @@ dependencies = [
+ description = "Python dependency management and packaging made easy."
+ requires-python = ">=3.10,<4.0"
+ dependencies = [
+-    "poetry-core (==2.4.0)",
++    "poetry-core (>=2.4.0)",
+     "build (>=1.2.1,<2.0.0)",
+     "cachecontrol[filecache] (>=0.14.0,<0.15.0)",
+     "cleo (>=2.1.0,<3.0.0)",


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a13dea1.3667a.409a4563>