dev-python/pydantic-settings: add 2.9.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2025-04-19 16:46:40 +05:00
parent 079dd9ea75
commit ab33c605ea
3 changed files with 59 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pydantic_settings-2.8.1.tar.gz 83550 BLAKE2B 76d112cb5fefddc4337ddf1708c66b4ae1e84b2574f681efe8b836302a5f8cff601d36bb395ac3080635529726eb1fe91648003d2ed42333fba1189b9d94bf18 SHA512 04ebb413ba42acf987440c71de21a65ac22011a866e3e27484c8dab6f0e71ec99402e33ca5f4002a03a7b3cdd369a759ce7f0706cb33e9adea37bd203f9867a6
DIST pydantic_settings-2.9.1.tar.gz 163234 BLAKE2B da37c3b128272bef7d7f8cd6e8545158e31a200420afd290b27d84083be50a501b76a4116904888c4c8b30715cb7a0ca7705267d29429ab9a99fc9072667a188 SHA512 85a039edcce86c5273ea224990d1542a9171f38a5137bca3161bba774a5a407b8ae409d8b3e5de780e98ea8e6a57a4b97ae4941453cd0a48e208778c5e56cce3

View File

@@ -5,6 +5,9 @@
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<use>
<flag name="yaml">Enable YAML support</flag>
</use>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">pydantic-settings</remote-id>

View File

@@ -0,0 +1,55 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="Settings management using Pydantic"
HOMEPAGE="
https://pypi.org/project/pydantic-settings/
https://github.com/pydantic/pydantic-settings
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="yaml"
RDEPEND="
>=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}]
dev-python/pydantic-core[${PYTHON_USEDEP}]
>=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
>=dev-python/typing-inspection-0.4.0[${PYTHON_USEDEP}]
yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] )
"
BDEPEND="
test? (
dev-python/annotated-types[${PYTHON_USEDEP}]
dev-python/boto3[${PYTHON_USEDEP}]
dev-python/moto[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
)
"
EPYTEST_IGNORE=(
# Dependencies not packaged: pytest-examples
tests/test_docs.py
# https://github.com/pydantic/pydantic-settings/pull/601
tests/test_source_azure_key_vault.py
# https://github.com/pydantic/pydantic-settings/pull/602
tests/test_source_gcp_secret_manager.py
)
distutils_enable_tests pytest
pkg_postinst() {
optfeature "AWS Secrets Manager support" dev-python/boto3
}