diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-07-13 18:22:00 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-07-13 18:35:55 +0000 |
| commit | 8389e912dde5cf1d5cfd26e629ce9513df12128e (patch) | |
| tree | 740a7e64333ed88338e70818519e2dee849e45c0 | |
| parent | 40f26186fbed7e287c165134a42417c4eb6d9fee (diff) | |
devel/py-pydantic-resolve: Add py-pydantic-resolve 1.12.4
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
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-pydantic-resolve/Makefile | 24 | ||||
| -rw-r--r-- | devel/py-pydantic-resolve/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-pydantic-resolve/pkg-descr | 8 |
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2484c972d610..eb01d9dedf5f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5575,6 +5575,7 @@ SUBDIR += py-pydantic-compat SUBDIR += py-pydantic-core SUBDIR += py-pydantic-extra-types + SUBDIR += py-pydantic-resolve SUBDIR += py-pydantic-settings SUBDIR += py-pydantic-vault SUBDIR += py-pydantic-yaml 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 |
