diff --git a/textproc/py-toon-format/Makefile b/textproc/py-toon-format/Makefile index d42caa715660..ab05b9eb953f 100644 --- a/textproc/py-toon-format/Makefile +++ b/textproc/py-toon-format/Makefile @@ -1,22 +1,27 @@ PORTNAME= toon-format -DISTVERSION= 0.9.0b1 +DISTVERSION= 1.2.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} MAINTAINER= lazeraman@gmail.com COMMENT= Token-oriented object notation for LLM prompts WWW= https://github.com/toon-format/toon-python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build>=0:devel/py-uv-build@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent pep517 pytest +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +OPTIONS_DEFINE= PYDANTIC +PYDANTIC_DESC= pydantic support + +PYDANTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0:devel/py-pydantic2@${PY_FLAVOR} + .include diff --git a/textproc/py-toon-format/distinfo b/textproc/py-toon-format/distinfo index cdfd570d9447..9e90cdf8c10e 100644 --- a/textproc/py-toon-format/distinfo +++ b/textproc/py-toon-format/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1789932064 -SHA256 (toon_format-0.9.0b1.tar.gz) = 8f391dd6ad9677c78366bd8eb6762d064a2183f67b9b7da1f348fdb6ee8738e7 -SIZE (toon_format-0.9.0b1.tar.gz) = 87398 +TIMESTAMP = 1793043858 +SHA256 (toon_format-1.2.0.tar.gz) = ed09c0cb8ba58f17372f876df1e43400d2d916aef67c641f152d8a28c5898669 +SIZE (toon_format-1.2.0.tar.gz) = 20775 diff --git a/textproc/py-toon-format/files/patch-pyproject.toml b/textproc/py-toon-format/files/patch-pyproject.toml new file mode 100644 index 000000000000..68968c678a1e --- /dev/null +++ b/textproc/py-toon-format/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2026-10-26 19:46:41 UTC ++++ pyproject.toml +@@ -71,7 +71,7 @@ docs = [ + ] + + [build-system] +-requires = ["uv_build>=0.12.20,<0.13"] ++requires = ["uv_build"] + build-backend = "uv_build" + + [tool.uv.build-backend]