aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-02-03 15:39:41 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-02-03 15:54:27 +0000
commit72ce3dbfbbdc1031661f43688303db1a506ba786 (patch)
tree827a0b89175369ba0cac3ae993239fb2b506e96c
parentc538c34bc79c0f2eb88ecc88f8c4726421aa705d (diff)
devel/py-anytree: Allow build with py-poetry-core 2.0.0+
- Bump PORTREVISION for package change
-rw-r--r--devel/py-poetry2setup/Makefile4
-rw-r--r--devel/py-poetry2setup/files/patch-pyproject.toml11
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]
+