git: 06a6067d81c2 - main - devel/py-pydantic-yaml: Add py-pydantic-yaml 1.1.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Sep 2023 23:34:49 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=06a6067d81c2b3db1b4b2f7c5d2b997cab35d27e commit 06a6067d81c2b3db1b4b2f7c5d2b997cab35d27e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-09-22 23:22:24 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-09-22 23:22:24 +0000 devel/py-pydantic-yaml: Add py-pydantic-yaml 1.1.3 Pydantic-YAML adds YAML capabilities to Pydantic, which is an excellent Python library for data validation and settings management. --- devel/Makefile | 1 + devel/py-pydantic-yaml/Makefile | 30 ++++++++++++++++++++++++++++++ devel/py-pydantic-yaml/distinfo | 3 +++ devel/py-pydantic-yaml/pkg-descr | 2 ++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1736c12b1bf3..d3aeb8c89145 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5274,6 +5274,7 @@ SUBDIR += py-pydantic-core SUBDIR += py-pydantic-extra-types SUBDIR += py-pydantic-vault + SUBDIR += py-pydantic-yaml SUBDIR += py-pydantic2 SUBDIR += py-pydash SUBDIR += py-pydecor diff --git a/devel/py-pydantic-yaml/Makefile b/devel/py-pydantic-yaml/Makefile new file mode 100644 index 000000000000..7ff8bb23a60c --- /dev/null +++ b/devel/py-pydantic-yaml/Makefile @@ -0,0 +1,30 @@ +PORTNAME= pydantic-yaml +PORTVERSION= 1.1.3 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pydantic_yaml-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Add some YAML functionality to the excellent pydantic library +WWW= https://pydantic-yaml.readthedocs.io/en/latest/ \ + https://github.com/NowanIlfideme/pydantic-yaml + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.2.0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${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}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-pydantic-yaml/distinfo b/devel/py-pydantic-yaml/distinfo new file mode 100644 index 000000000000..c73ca9bad9fa --- /dev/null +++ b/devel/py-pydantic-yaml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1695357781 +SHA256 (pydantic_yaml-1.1.3.tar.gz) = c917e89bf461b1dbf741c806b3d95fd396d1e407b70022290104675130a10c61 +SIZE (pydantic_yaml-1.1.3.tar.gz) = 20517 diff --git a/devel/py-pydantic-yaml/pkg-descr b/devel/py-pydantic-yaml/pkg-descr new file mode 100644 index 000000000000..e310d98b587d --- /dev/null +++ b/devel/py-pydantic-yaml/pkg-descr @@ -0,0 +1,2 @@ +Pydantic-YAML adds YAML capabilities to Pydantic, which is an excellent Python +library for data validation and settings management.