Skip to content

Commit

Permalink
package/python-pydantic-settings: new package
Browse files Browse the repository at this point in the history
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
jameshilliard authored and sfoster1 committed Dec 18, 2024
1 parent 961c33d commit b983da2
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,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"
Expand Down
9 changes: 9 additions & 0 deletions package/python-pydantic-settings/Config.in
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions package/python-pydantic-settings/python-pydantic-settings.mk
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit b983da2

Please sign in to comment.