package/python-pylibfdt: 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-05-11 10:01:48 +02:00 committed by Thomas Petazzoni
parent 475b7dbd66
commit 439404e7ac
4 changed files with 28 additions and 0 deletions

View File

@ -1169,6 +1169,7 @@ menu "External python modules"
source "package/python-pyicu/Config.in"
source "package/python-pyinotify/Config.in"
source "package/python-pyjwt/Config.in"
source "package/python-pylibfdt/Config.in"
source "package/python-pylibftdi/Config.in"
source "package/python-pylru/Config.in"
source "package/python-pymodbus/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_PYLIBFDT
bool "python-pylibfdt"
help
Python bindings for the Device Tree Compiler (dtc) toolchain.
https://github.com/devicetree-org/pylibfdt

View File

@ -0,0 +1,6 @@
# md5, sha256 from https://pypi.python.org/pypi/pylibfdt/json
md5 5765c20ac6cde517d5b7218503ab707b pylibfdt-1.6.1.tar.gz
sha256 90c667c5adf44c6ab2f13bdc566598897784c7b781bed91064e7373bd270b778 pylibfdt-1.6.1.tar.gz
# Locally computed
sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd BSD-2-Clause
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 GPL

View File

@ -0,0 +1,15 @@
################################################################################
#
# python-pylibfdt
#
################################################################################
PYTHON_PYLIBFDT_VERSION = 1.6.1
PYTHON_PYLIBFDT_SOURCE = pylibfdt-$(PYTHON_PYLIBFDT_VERSION).tar.gz
PYTHON_PYLIBFDT_SITE = https://files.pythonhosted.org/packages/15/3c/40b1d6a1df9dbc9d9ba5700a47ad95ca1e984f18daf25ede0da5f67d0cf7
PYTHON_PYLIBFDT_SETUP_TYPE = setuptools
PYTHON_PYLIBFDT_LICENSE = BSD-2-Clause or GPL-2.0+
PYTHON_PYLIBFDT_LICENSE_FILES = BSD-2-Clause GPL
PYTHON_PYLIBFDT_DEPENDENCIES = host-python-setuptools-scm host-swig
$(eval $(python-package))