Files
guru/dev-python/pydantic-settings/pydantic-settings-2.13.1.ebuild
Anna (cybertailor) Vyalkova d2ef2e2233 dev-python/pydantic-settings: add 2.13.1, drop 2.11.0-r1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2026-02-20 06:38:27 +05:00

56 lines
1.2 KiB
Bash

# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..13} )
PYPI_VERIFY_REPO="https://github.com/pydantic/pydantic-settings"
inherit distutils-r1 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="aws yaml"
RDEPEND="
>=dev-python/pydantic-2.7.0[${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}]
aws? ( dev-python/boto3[${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}]
)
"
EPYTEST_PLUGINS=( pytest-mock )
EPYTEST_IGNORE=(
# Dependencies not packaged: pytest-examples
tests/test_docs.py
)
EPYTEST_DESELECT=(
tests/test_precedence_and_merging.py::test_merging_preserves_earlier_values
)
distutils_enable_tests pytest
src_test() {
local A
unset A
distutils-r1_src_test
}