summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-dtc_1.7.0.bb
blob: 85e48d46942743790d1e1395bcc75f8859c0de6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 = "039a99414e778332d8f9c04cbd3072e1dcc62798"

S = "${WORKDIR}/git"

PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"

inherit setuptools3 pkgconfig

BBCLASSEXTEND = "native nativesdk"