summaryrefslogtreecommitdiff
path: root/devel/py-pydantic-resolve
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pydantic-resolve')
-rw-r--r--devel/py-pydantic-resolve/Makefile24
-rw-r--r--devel/py-pydantic-resolve/distinfo3
-rw-r--r--devel/py-pydantic-resolve/pkg-descr8
3 files changed, 35 insertions, 0 deletions
diff --git a/devel/py-pydantic-resolve/Makefile b/devel/py-pydantic-resolve/Makefile
new file mode 100644
index 000000000000..4705fd86e555
--- /dev/null
+++ b/devel/py-pydantic-resolve/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= pydantic-resolve
+PORTVERSION= 1.12.4
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pydantic_resolve-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Provide pair of pre and post methods around pydantic fields
+WWW= https://allmonday.github.io/pydantic-resolve/introduction/ \
+ https://github.com/allmonday/pydantic-resolve
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiodataloader>=0.4.0<0.5:databases/py-aiodataloader@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pydantic-resolve/distinfo b/devel/py-pydantic-resolve/distinfo
new file mode 100644
index 000000000000..c5c205fa0d0e
--- /dev/null
+++ b/devel/py-pydantic-resolve/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752416402
+SHA256 (pydantic_resolve-1.12.4.tar.gz) = 2be83c51d738e7345ff148d65659f6c5358972743b7a6e75586ef4ffd40bf593
+SIZE (pydantic_resolve-1.12.4.tar.gz) = 24181
diff --git a/devel/py-pydantic-resolve/pkg-descr b/devel/py-pydantic-resolve/pkg-descr
new file mode 100644
index 000000000000..711e894743ec
--- /dev/null
+++ b/devel/py-pydantic-resolve/pkg-descr
@@ -0,0 +1,8 @@
+pydantic-resolve is a sophisticated framework for composing complex data
+structures with an intuitive, declarative, resolver-based architecture that
+eliminates the N+1 query problem.
+
+It supports:
+- pydantic v1
+- pydantic v2
+- dataclass from pydantic.dataclasses import dataclass