summaryrefslogtreecommitdiff
path: root/devel/py-pydantic-resolve
diff options
context:
space:
mode:
Diffstat (limited to '')
-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..4e9b1ec65984
--- /dev/null
+++ b/devel/py-pydantic-resolve/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= pydantic-resolve
+PORTVERSION= 1.13.1
+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..b9803af08d81
--- /dev/null
+++ b/devel/py-pydantic-resolve/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757120726
+SHA256 (pydantic_resolve-1.13.1.tar.gz) = d64a91fefd525ed5f390d5ac65926f87fcc36ccb59795a029982a42677f3b850
+SIZE (pydantic_resolve-1.13.1.tar.gz) = 24424
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