aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-05-02 21:27:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-05-02 21:27:54 +0000
commit6205cc112bcdd8e9dd4578caf9634d9977110eaf (patch)
tree85ab3991c060af94849d4b4143d62e2b58be1460
parent0b8ad332d748d9aaf72015d571bbe88d9d9fc4a8 (diff)
devel/py-poetry: Allow build with py-findpython 0.8.0+
- Bump PORTREVISION for package change
-rw-r--r--devel/py-poetry/Makefile3
-rw-r--r--devel/py-poetry/files/patch-pyproject.toml9
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/py-poetry/Makefile b/devel/py-poetry/Makefile
index 5e9342000c3c..51efbbac4c2b 100644
--- a/devel/py-poetry/Makefile
+++ b/devel/py-poetry/Makefile
@@ -1,5 +1,6 @@
PORTNAME= poetry
PORTVERSION= 2.3.4
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI \
https://github.com/python-poetry/poetry/releases/download/${PORTVERSION}/
@@ -19,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.25.0<2: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.8.0:devel/py-findpython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}findpython>=0.6.2<0.9.0:devel/py-findpython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}installer>=0.7.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.2:devel/py-packaging@${PY_FLAVOR} \
diff --git a/devel/py-poetry/files/patch-pyproject.toml b/devel/py-poetry/files/patch-pyproject.toml
index fdfefdf0ec3a..12e70c5a585e 100644
--- a/devel/py-poetry/files/patch-pyproject.toml
+++ b/devel/py-poetry/files/patch-pyproject.toml
@@ -9,3 +9,12 @@
"keyring (>=25.1.0,<26.0.0)",
# packaging uses calver, so version is unclamped
"packaging (>=24.2)", # PEP 639 support was added in 24.2
+@@ -26,7 +26,7 @@ dependencies = [
+ "trove-classifiers (>=2022.5.19)",
+ "virtualenv (>=20.26.6)",
+ "xattr (>=1.0.0,<2.0.0) ; sys_platform == 'darwin'",
+- "findpython (>=0.6.2,<0.8.0)",
++ "findpython (>=0.6.2,<0.9.0)",
+ # pbs-installer uses calver, so version is unclamped
+ "pbs-installer[download,install] (>=2025.6.10)",
+ ]