-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-python/pydantic-settings: add 2.5.2
Signed-off-by: David Roman <[email protected]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST pydantic_settings-2.3.4.tar.gz 59231 BLAKE2B fd30924fb3c19f41da1f082af41aaa31ea2e0b25bfbc10310e1d5562e84dce02edacb1f7a9017d84ada8cf0ec091284fdd5af77d33e8bec80474389cbff3b946 SHA512 87b87393009e1aca43a0238aca787f4bdcf3306f484dbe7d4410707512fb9ccd5ba8a25249b66e8183fbffca3060b47da6e85f971787e13333be5db89e8b278b | ||
DIST pydantic_settings-2.4.0.tar.gz 63033 BLAKE2B 458c539956aba70d5ef2dfc9d4935c95aeba7545252834f1a01a1a94cea2cc20955addf386753e936aaa78dafa9a0cdf604b1151e8e9fff5f9722ac0d8955e8d SHA512 a4154605976c7615c64cad3614f7ef894a868f1288e40091ba9c13952041d5837a15e344d4e01a94dec270748c00c8f8d87b498ffbcfe1ce7d89710d1fa885fd | ||
DIST pydantic_settings-2.5.2.tar.gz 70938 BLAKE2B ef5f2791c6bfe450096baa694d4512315118d92aca8959e2654d7e832112b4c0a8f468075b31f872ca74a3e40dbc594841f3a69cd487deed94903fac283230e0 SHA512 8aa2585a2b1648630a89f2b271765b240194ce99597d6adf3a61bb705fd0a1504614f7c22ae3fd78f25a598108dc41469c9a7c90810b49f73e07fc7339693dd1 |
44 changes: 44 additions & 0 deletions
44
dev-python/pydantic-settings/pydantic-settings-2.5.2.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 2024 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 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" | ||
|
||
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}] | ||
" | ||
BDEPEND=" | ||
test? ( | ||
dev-python/annotated-types[${PYTHON_USEDEP}] | ||
dev-python/pytest-mock[${PYTHON_USEDEP}] | ||
dev-python/pyyaml[${PYTHON_USEDEP}] | ||
dev-python/tomli[${PYTHON_USEDEP}] | ||
) | ||
" | ||
|
||
EPYTEST_IGNORE=( tests/test_docs.py ) | ||
EPYTEST_DESELECT=( | ||
tests/test_settings.py::test_ignore_empty_with_dotenv_when_empty_uses_default | ||
tests/test_settings.py::test_ignore_empty_with_dotenv_when_not_empty_uses_value | ||
tests/test_settings.py::test_protected_namespace_defaults | ||
tests/test_settings.py::test_cli_help_differentiation | ||
) | ||
|
||
distutils_enable_tests pytest |