aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-01 01:49:13 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-01 02:08:22 +0000
commit3cb4ef9446cbc1e8a5155a77f88cc1818984256c (patch)
tree772743c52dc4de52938aff8c50588041c79ff8d2
parentee5ecf5835bb42ecb6f9f879dd097fbb83bc5e24 (diff)
downloadports-3cb4ef9446cbc1e8a5155a77f88cc1818984256c.tar.gz
ports-3cb4ef9446cbc1e8a5155a77f88cc1818984256c.zip
devel/py-pydantic-yaml: Fix build after py-ruamel.yaml 0.18.2 update (580cbb2bbe1f9cd20b6a3467555fe98f1d2d0667)
-rw-r--r--devel/py-pydantic-yaml/Makefile3
-rw-r--r--devel/py-pydantic-yaml/files/patch-pyproject.toml11
2 files changed, 13 insertions, 1 deletions
diff --git a/devel/py-pydantic-yaml/Makefile b/devel/py-pydantic-yaml/Makefile
index 75dac0ad3999..9f23bd35847b 100644
--- a/devel/py-pydantic-yaml/Makefile
+++ b/devel/py-pydantic-yaml/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pydantic-yaml
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +20,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.2.0:devel/py-importl
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0:devel/py-pydantic2@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16.0<0.18.0:devel/py-ruamel.yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16.0<0.19.0:devel/py-ruamel.yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR}
USES= python
diff --git a/devel/py-pydantic-yaml/files/patch-pyproject.toml b/devel/py-pydantic-yaml/files/patch-pyproject.toml
new file mode 100644
index 000000000000..42c369297298
--- /dev/null
+++ b/devel/py-pydantic-yaml/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2023-09-25 18:54:10 UTC
++++ pyproject.toml
+@@ -26,7 +26,7 @@ classifiers = [
+ ]
+ dependencies = [
+ "pydantic>=1.8", # including pydantic>=2.0.0!
+- "ruamel.yaml>=0.16.0,<0.18.0", # recommended ~=0.17.21
++ "ruamel.yaml>=0.16.0,<0.19.0", # recommended ~=0.17.21
+ "importlib_metadata",
+ "typing_extensions>=4.5.0",
+ ]