blob: c87b258ed23476910cc834fc69d7aeca5aeb66ae [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 \
Patrick Williams2cc5d4d2024-09-20 09:54:22 -040012 ${PYTHON_PN}-jsonschema-native \
Patrick Williamsf7326942020-04-08 10:26:49 -050013 ${PYTHON_PN}-mako-native \
14 ${PYTHON_PN}-pyyaml-native \
15 "
Ed Tanous9936f862022-09-19 09:13:20 -070016PV = "1.0"
17
18PYPI_PACKAGE = "sdbusplus"
19
20S = "${WORKDIR}/git/tools"
21
22inherit setuptools3
Patrick Williamsf7326942020-04-08 10:26:49 -050023
Patrick Williams12fc9392021-08-06 09:16:53 -050024RDEPENDS:${PN} += " \
Patrick Williamsf7326942020-04-08 10:26:49 -050025 ${PYTHON_PN}-inflection \
Jian Zhangdf29aae2025-04-22 20:00:47 +080026 ${PYTHON_PN}-jsonschema \
Patrick Williamsf7326942020-04-08 10:26:49 -050027 ${PYTHON_PN}-mako \
28 ${PYTHON_PN}-pyyaml \
29 "
30
Ed Tanous9936f862022-09-19 09:13:20 -070031include sdbusplus-rev.inc
32
Patrick Williamsf7326942020-04-08 10:26:49 -050033BBCLASSEXTEND += "native nativesdk"