From 25a0003ef98f2bc96688d0025933fef12e0f71b0 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 24 May 2016 14:56:56 +0300 Subject: python-dbus: add a recipe oe-core provides only python3-dbus now, so python-dbus still has to be provided for a few recipes in meta-oe. Signed-off-by: Alexander Kanavin Signed-off-by: Martin Jansa --- .../recipes-devtools/python/python-dbus_1.2.0.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-dbus_1.2.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python-dbus_1.2.0.bb b/meta-python/recipes-devtools/python/python-dbus_1.2.0.bb new file mode 100644 index 0000000000..95ba920d04 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-dbus_1.2.0.bb @@ -0,0 +1,31 @@ +SUMMARY = "Python bindings for the DBus inter-process communication system" +SECTION = "devel/python" +HOMEPAGE = "http://www.freedesktop.org/Software/dbus" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=0b83047ce9e948b67c0facc5f233476a" +DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native" + +SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz \ +" + +SRC_URI[md5sum] = "b09cd2d1a057cc432ce944de3fc06bf7" +SRC_URI[sha256sum] = "e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df" +S = "${WORKDIR}/dbus-python-${PV}" + +inherit distutils-base autotools pkgconfig + +PACKAGECONFIG ?= "" +PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python3-docutils-native" +PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python3-docutils-native python3-epydoc-native" + +export STAGING_LIBDIR +export STAGING_INCDIR + +RDEPENDS_${PN} = "python-io python-logging python-stringold python-threading python-xml" + +FILES_${PN}-dev += "${libdir}/pkgconfig" + +do_install_append() { + # Remove files that clash with python3-dbus; their content is same + rm ${D}${includedir}/dbus-1.0/dbus/dbus-python.h ${D}${libdir}/pkgconfig/dbus-python.pc +} -- cgit v1.2.3-54-g00ecf