package/python-pydantic: new package

Data validation and settings management using python 3.6
type hinting.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Asaf Kahlon 2020-01-04 15:50:43 +02:00 committed by Peter Korsgaard
parent fe0ff37ac3
commit c686556324
4 changed files with 28 additions and 0 deletions

View File

@ -1057,6 +1057,7 @@ menu "External python modules"
source "package/python-pycrypto/Config.in" source "package/python-pycrypto/Config.in"
source "package/python-pycryptodomex/Config.in" source "package/python-pycryptodomex/Config.in"
source "package/python-pydal/Config.in" source "package/python-pydal/Config.in"
source "package/python-pydantic/Config.in"
source "package/python-pyelftools/Config.in" source "package/python-pyelftools/Config.in"
source "package/python-pyftpdlib/Config.in" source "package/python-pyftpdlib/Config.in"
source "package/python-pygame/Config.in" source "package/python-pygame/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_PYDANTIC
bool "python-pydantic"
depends on BR2_PACKAGE_PYTHON3
help
Data validation and settings management using python 3.6
type hinting.
https://github.com/samuelcolvin/pydantic

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pydantic/json
md5 ce0c1824d1797bc7d67953428c4fe965 pydantic-1.3.tar.gz
sha256 2eab7d548b0e530bf65bee7855ad8164c2f6a889975d5e9c4eefd1e7c98245dc pydantic-1.3.tar.gz
# Locally computed sha256 checksums
sha256 66badbfe56618ec52ddcbfda62450e43752d16fe1e7cae78d346c7ed10a35306 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-pydantic
#
################################################################################
PYTHON_PYDANTIC_VERSION = 1.3
PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz
PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/3e/69/b22c0eb3157115e1e3d111f574a6a41552539f1e53b064121ef4e9ac1368
PYTHON_PYDANTIC_SETUP_TYPE = setuptools
PYTHON_PYDANTIC_LICENSE = MIT
PYTHON_PYDANTIC_LICENSE_FILES = LICENSE
$(eval $(python-package))