mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
dbusmock doesn't actually hard-depend on pygobject, some of the templates use it but it isn't mandatory. Change the RDEPENDS to RRECOMMENDS, and only recommend if g-i is enabled. (From OE-Core rev: 943d438e2ebce5e76e03dd60ed78acdf9059a10a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
719 B
BlitzBasic
23 lines
719 B
BlitzBasic
SUMMARY = "With this program/Python library you can easily create mock objects on D-Bus"
|
|
HOMEPAGE = "https://pypi.org/project/python-dbusmock/"
|
|
|
|
LICENSE = "GPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
|
|
|
|
SRC_URI[sha256sum] = "3efdb3d800386b65e8854d8ee4538764241382b4e664423ad7d959c9008dd408"
|
|
|
|
PYPI_PACKAGE = "python-dbusmock"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
DEPENDS += "python3-setuptools-scm-native"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
${PYTHON_PN}-dbus \
|
|
${PYTHON_PN}-unittest \
|
|
${PYTHON_PN}-xml \
|
|
"
|
|
|
|
RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', '${MLPREFIX}${PYTHON_PN}-pygobject', '', d)}"
|
|
|
|
BBCLASSEXTEND = "native"
|