mirror of
https://git.yoctoproject.org/poky
synced 2026-07-03 02:13:41 +02:00
python3-dtc: add from meta-virtualization
This provides pylibfdt, which is a runtime dependency for the dtschema module that we already carry in oe-core. (From OE-Core rev: 123077ecd9f3c1839da0d7b1474d689e5c6a689c) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bbed3a143b
commit
6684cfb613
26
meta/recipes-devtools/python/python3-dtc_1.6.1.bb
Normal file
26
meta/recipes-devtools/python/python3-dtc_1.6.1.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "Python Library for the Device Tree Compiler"
|
||||
HOMEPAGE = "https://devicetree.org/"
|
||||
DESCRIPTION = "A python library for the Device Tree Compiler, a tool used to manipulate Device Tree files which contain a data structure for describing hardware."
|
||||
SECTION = "bootloader"
|
||||
LICENSE = "GPL-2.0-only | BSD-2-Clause"
|
||||
|
||||
DEPENDS = "flex-native bison-native swig-native python3-setuptools-scm-native libyaml dtc"
|
||||
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=master \
|
||||
file://0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch \
|
||||
"
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
|
||||
|
||||
SRCREV = "c001fc01a43e7a06447c06ea3d50bd60641322b8"
|
||||
|
||||
PV = "1.6.1+git${SRCPV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"
|
||||
|
||||
inherit setuptools3 pkgconfig
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user