package/python-pydantic-settings: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2024-09-27 17:08:48 -06:00 committed by Thomas Petazzoni
parent eb11879804
commit bde7b963e5
4 changed files with 30 additions and 0 deletions

View File

@ -1297,6 +1297,7 @@ menu "External python modules"
source "package/python-pydal/Config.in"
source "package/python-pydantic/Config.in"
source "package/python-pydantic-core/Config.in"
source "package/python-pydantic-settings/Config.in"
source "package/python-pydevmem/Config.in"
source "package/python-pydyf/Config.in"
source "package/python-pyelftools/Config.in"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_PYDANTIC_SETTINGS
bool "python-pydantic-settings"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core
select BR2_PACKAGE_PYTHON_DOTENV # runtime
select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
help
Settings management using Pydantic.
https://github.com/pydantic/pydantic-settings

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pydantic-settings/json
md5 38eecfeda26d332803c540fd86105509 pydantic_settings-2.5.2.tar.gz
sha256 f90b139682bee4d2065273d5185d71d37ea46cfe57e1b5ae184fc6a0b2484ca0 pydantic_settings-2.5.2.tar.gz
# Locally computed sha256 checksums
sha256 eb355a753e020346d33d83bf9769135b89fc610568ac531a01c295bcee7fd998 LICENSE

View File

@ -0,0 +1,15 @@
################################################################################
#
# python-pydantic-settings
#
################################################################################
PYTHON_PYDANTIC_SETTINGS_VERSION = 2.5.2
PYTHON_PYDANTIC_SETTINGS_SOURCE = pydantic_settings-$(PYTHON_PYDANTIC_SETTINGS_VERSION).tar.gz
PYTHON_PYDANTIC_SETTINGS_SITE = https://files.pythonhosted.org/packages/68/27/0bed9dd26b93328b60a1402febc780e7be72b42847fa8b5c94b7d0aeb6d1
PYTHON_PYDANTIC_SETTINGS_SETUP_TYPE = pep517
PYTHON_PYDANTIC_SETTINGS_LICENSE = MIT
PYTHON_PYDANTIC_SETTINGS_LICENSE_FILES = LICENSE
PYTHON_PYDANTIC_SETTINGS_DEPENDENCIES = host-python-hatchling
$(eval $(python-package))