blob: f682b62c958d432ab7de87239d675755e357f28e [file] [log] [blame]
Patrick Williamsf7326942020-04-08 10:26:49 -05001SUMMARY = "sdbus++ dbus API / binding generator"
2DESCRIPTION = "Generates bindings against sdbusplus for dbus APIs"
Patrick Williams8564d352020-05-19 06:56:04 -05003## The sdbusplus repository has an Apache LICENSE file, which we would
4## normally check here, but the python setup script is in a subdirectory
5## which requires us to set ${S} below. When we change ${S} from the root
6## of the repository, bitbake can no longer find the LICENSE file. Point
7## to the common Apache license file in poky's meta instead.
8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Patrick Williamsf7326942020-04-08 10:26:49 -050010DEPENDS += " \
Patrick Williamsf7326942020-04-08 10:26:49 -050011 ${PYTHON_PN}-inflection-native \
12 ${PYTHON_PN}-mako-native \
13 ${PYTHON_PN}-pyyaml-native \
14 "
Ed Tanous9936f862022-09-19 09:13:20 -070015PV = "1.0"
16
17PYPI_PACKAGE = "sdbusplus"
18
19S = "${WORKDIR}/git/tools"
20
21inherit setuptools3
Patrick Williamsf7326942020-04-08 10:26:49 -050022
Patrick Williams12fc9392021-08-06 09:16:53 -050023RDEPENDS:${PN} += " \
Patrick Williamsf7326942020-04-08 10:26:49 -050024 ${PYTHON_PN}-inflection \
25 ${PYTHON_PN}-mako \
26 ${PYTHON_PN}-pyyaml \
27 "
28
Ed Tanous9936f862022-09-19 09:13:20 -070029include sdbusplus-rev.inc
30
Patrick Williamsf7326942020-04-08 10:26:49 -050031BBCLASSEXTEND += "native nativesdk"