mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
devel/py-pydantic-settings: New port: Settings management using Pydantic
This commit is contained in:
parent
f7323183be
commit
a36a5394da
@ -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
|
||||
|
28
devel/py-pydantic-settings/Makefile
Normal file
28
devel/py-pydantic-settings/Makefile
Normal file
@ -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>
|
3
devel/py-pydantic-settings/distinfo
Normal file
3
devel/py-pydantic-settings/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1722193957
|
||||
SHA256 (pydantic_settings-2.3.4.tar.gz) = c5802e3d62b78e82522319bbc9b8f8ffb28ad1c988a99311d04f2a6051fca0a7
|
||||
SIZE (pydantic_settings-2.3.4.tar.gz) = 59231
|
2
devel/py-pydantic-settings/pkg-descr
Normal file
2
devel/py-pydantic-settings/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
pydantic-settings implements settings management using Pydantic, this is the
|
||||
new official home of Pydantic's BaseSettings.
|
Loading…
Reference in New Issue
Block a user