From 3c188f75eabf3cb2c976e69e4c18c401e20635dd Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 22 Mar 2024 16:59:54 +0000 Subject: python3-dbus: re-add recipe with latest patches and add ptest The python3-dbus package was removed in (dac933e). While the upstream project isn't active, other distributions (e.g. Fedora, Debian, etc) continue to offer the package and apply patches to resolve reported issues. While other packages offer similar functionality (e.g. dasbus), they are not drop in replacements and the general dbus functionality works out of the box. The python package has accomplished it's goal of providing useful functionality, and the proposal is to continue to have it available in meta-python for use. Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../python/python3-pydbus_0.6.0.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb new file mode 100644 index 0000000000..ac9b8e8aba --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Pythonic DBus library" +HOMEPAGE = "https://pypi.python.org/pypi/pydbus/" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a916467b91076e631dd8edb7424769c7" + +SRCREV = "f2e6355a88351e7d644ccb2b4d67b19305507312" +SRC_URI = " \ + git://github.com/LEW21/pydbus.git;protocol=https;branch=master \ + file://0001-make-direction-attribute-conforming-to-introspect.dt.patch \ + file://0002-Support-asynchronous-calls-58.patch \ + file://0003-Support-transformation-between-D-Bus-errors-and-exce.patch \ + file://run-ptest \ +" + +inherit ptest setuptools3 + +S = "${WORKDIR}/git" + +RDEPENDS:${PN} = "${PYTHON_PN}-pygobject \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf