package/python-dtschema: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yegor Yefremov 2022-08-04 07:23:31 +02:00 committed by Thomas Petazzoni
parent 7674400360
commit 08be3dfa15
4 changed files with 31 additions and 0 deletions

View File

@ -1024,6 +1024,7 @@ menu "External python modules"
source "package/python-docutils/Config.in"
source "package/python-dominate/Config.in"
source "package/python-dpkt/Config.in"
source "package/python-dtschema/Config.in"
source "package/python-ecdsa/Config.in"
source "package/python-engineio/Config.in"
source "package/python-entrypoints/Config.in"

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_DTSCHEMA
bool "python-dtschema"
select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime
select BR2_PACKAGE_PYTHON_PYLIBFDT # runtime
select BR2_PACKAGE_PYTHON_RFC3987 # runtime
select BR2_PACKAGE_PYTHON_RUAMEL_YAML # runtime
help
DeviceTree validation schema and tools.
https://github.com/devicetree-org/dt-schema

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/dtschema/json
md5 ed75defac9a7297a567f278994b14d5b dtschema-2022.8.tar.gz
sha256 1befe7c9f74cea248a8b524cf6185ac48912a5b2aae96854d77cb94584433ca4 dtschema-2022.8.tar.gz
# Locally computed sha256 checksums
sha256 ca0d66263406dc684fe9db60577b234f65ffdf620d7e041c708e969447b69111 LICENSE.txt

View File

@ -0,0 +1,15 @@
################################################################################
#
# python-dtschema
#
################################################################################
PYTHON_DTSCHEMA_VERSION = 2022.8
PYTHON_DTSCHEMA_SOURCE = dtschema-$(PYTHON_DTSCHEMA_VERSION).tar.gz
PYTHON_DTSCHEMA_SITE = https://files.pythonhosted.org/packages/95/be/cb576760b9578cb69da020aeb80f3c2d05ff46b4090ab350c1e05691329e
PYTHON_DTSCHEMA_SETUP_TYPE = setuptools
PYTHON_DTSCHEMA_LICENSE = BSD-2-Clause
PYTHON_DTSCHEMA_LICENSE_FILES = LICENSE.txt
PYTHON_DTSCHEMA_DEPENDENCIES = host-python-setuptools-scm
$(eval $(python-package))