Patrick Williams | f732694 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 1 | SUMMARY = "sdbus++ dbus API / binding generator" |
| 2 | DESCRIPTION = "Generates bindings against sdbusplus for dbus APIs" |
| 3 | |
Patrick Williams | 751f868 | 2022-03-03 09:32:32 -0600 | [diff] [blame] | 4 | PYPI_PACKAGE = "sdbusplus" |
| 5 | PV = "1.0" |
Patrick Williams | 8564d35 | 2020-05-19 06:56:04 -0500 | [diff] [blame] | 6 | inherit setuptools3 |
Patrick Williams | f732694 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 7 | |
| 8 | include sdbusplus-rev.inc |
| 9 | |
Patrick Williams | 8564d35 | 2020-05-19 06:56:04 -0500 | [diff] [blame] | 10 | ## The sdbusplus repository has an Apache LICENSE file, which we would |
| 11 | ## normally check here, but the python setup script is in a subdirectory |
| 12 | ## which requires us to set ${S} below. When we change ${S} from the root |
| 13 | ## of the repository, bitbake can no longer find the LICENSE file. Point |
| 14 | ## to the common Apache license file in poky's meta instead. |
| 15 | LICENSE = "Apache-2.0" |
| 16 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 17 | |
| 18 | S="${WORKDIR}/git/tools" |
| 19 | |
Patrick Williams | f732694 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 20 | DEPENDS += " \ |
Patrick Williams | f732694 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 21 | ${PYTHON_PN}-inflection-native \ |
| 22 | ${PYTHON_PN}-mako-native \ |
| 23 | ${PYTHON_PN}-pyyaml-native \ |
| 24 | " |
| 25 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 26 | RDEPENDS:${PN} += " \ |
Patrick Williams | f732694 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 27 | ${PYTHON_PN}-inflection \ |
| 28 | ${PYTHON_PN}-mako \ |
| 29 | ${PYTHON_PN}-pyyaml \ |
| 30 | " |
| 31 | |
Patrick Williams | f732694 | 2020-04-08 10:26:49 -0500 | [diff] [blame] | 32 | BBCLASSEXTEND += "native nativesdk" |