git: c7c8f9684887 - main - devel/py-poetry: Allow build with py-findpython 0.7.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Jul 2025 12:41:37 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c7c8f9684887cd7c868dfb3b6f51c89b74be2f5d
commit c7c8f9684887cd7c868dfb3b6f51c89b74be2f5d
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-13 12:35:30 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-13 12:39:32 +0000
devel/py-poetry: Allow build with py-findpython 0.7.0+
- Bump PORTREVISION for package change
---
devel/py-poetry/Makefile | 4 ++--
devel/py-poetry/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/devel/py-poetry/Makefile b/devel/py-poetry/Makefile
index b6baffbf954f..eca1731b9f02 100644
--- a/devel/py-poetry/Makefile
+++ b/devel/py-poetry/Makefile
@@ -1,6 +1,6 @@
PORTNAME= poetry
PORTVERSION= 2.1.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI \
https://github.com/python-poetry/poetry/releases/download/${PORTVERSION}/
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>=1.2.1<2.0.0:devel/py-build@${PY_FLAVO
${PYTHON_PKGNAMEPREFIX}cleo>=2.1.0<3.0.0:devel/py-cleo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dulwich>=0.22.6<0.23.0:devel/py-dulwich@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fastjsonschema>=2.18.0<3.0.0:devel/py-fastjsonschema@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}findpython>=0.6.2<0.7.0:devel/py-findpython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}findpython>=0.6.2:devel/py-findpython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}installer>=0.7.0<0.8.0:devel/py-installer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keyring>=25.1.0,1<26.0.0,1:security/py-keyring@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=24.0:devel/py-packaging@${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..ba954546ba13
--- /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
+@@ -29,7 +29,7 @@ dependencies = [
+ "trove-classifiers (>=2022.5.19)",
+ "virtualenv (>=20.26.6,<21.0.0)",
+ "xattr (>=1.0.0,<2.0.0) ; sys_platform == 'darwin'",
+- "findpython (>=0.6.2,<0.7.0)",
++ "findpython (>=0.6.2)",
+ "pbs-installer[download,install] (>=2025.1.6,<2026.0.0)",
+ ]
+ authors = [