Date: Sun, 28 Jul 2024 23:57:51 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a36a5394da12 - main - devel/py-pydantic-settings: New port: Settings management using Pydantic Message-ID: <202407282357.46SNvpJs005465@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a36a5394da1299963a74024105678514f0640aeb commit a36a5394da1299963a74024105678514f0640aeb Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-07-28 22:19:25 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-07-28 23:57:43 +0000 devel/py-pydantic-settings: New port: Settings management using Pydantic --- devel/Makefile | 1 + devel/py-pydantic-settings/Makefile | 28 ++++++++++++++++++++++++++++ devel/py-pydantic-settings/distinfo | 3 +++ devel/py-pydantic-settings/pkg-descr | 2 ++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8b4aaa47d538..85a859c030c0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5426,6 +5426,7 @@ SUBDIR += py-pydantic SUBDIR += py-pydantic-core SUBDIR += py-pydantic-extra-types + SUBDIR += py-pydantic-settings SUBDIR += py-pydantic-vault SUBDIR += py-pydantic-yaml SUBDIR += py-pydantic2 diff --git a/devel/py-pydantic-settings/Makefile b/devel/py-pydantic-settings/Makefile new file mode 100644 index 000000000000..8ef04ecfa73f --- /dev/null +++ b/devel/py-pydantic-settings/Makefile @@ -0,0 +1,28 @@ +PORTNAME= pydantic-settings +DISTVERSION= 2.3.4 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Settings management using Pydantic +WWW= https://docs.pydantic.dev/latest/concepts/pydantic_settings/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= hatchling:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.7.0:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.21.0:www/py-python-dotenv@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-examples>0:devel/py-pytest-examples@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-pretty>=0:devel/py-pytest-pretty@${PY_FLAVOR} + +USES= cpe python +USE_PYTHON= pep517 autoplist pytest + +CPE_VENDOR= pydantic_project + +.include <bsd.port.mk> diff --git a/devel/py-pydantic-settings/distinfo b/devel/py-pydantic-settings/distinfo new file mode 100644 index 000000000000..64dc13810bd1 --- /dev/null +++ b/devel/py-pydantic-settings/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722193957 +SHA256 (pydantic_settings-2.3.4.tar.gz) = c5802e3d62b78e82522319bbc9b8f8ffb28ad1c988a99311d04f2a6051fca0a7 +SIZE (pydantic_settings-2.3.4.tar.gz) = 59231 diff --git a/devel/py-pydantic-settings/pkg-descr b/devel/py-pydantic-settings/pkg-descr new file mode 100644 index 000000000000..fdbf74dd9941 --- /dev/null +++ b/devel/py-pydantic-settings/pkg-descr @@ -0,0 +1,2 @@ +pydantic-settings implements settings management using Pydantic, this is the +new official home of Pydantic's BaseSettings.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407282357.46SNvpJs005465>