diff options
| author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-05-24 14:56:56 +0300 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-06-08 14:55:25 +0200 |
| commit | 25a0003ef98f2bc96688d0025933fef12e0f71b0 (patch) | |
| tree | d8456304437b34712f841f1360dca4163ed9e0ac /meta-python | |
| parent | f9ce43cdf6639acaa59d6144aabee798970ca3b6 (diff) | |
| download | meta-openembedded-25a0003ef98f2bc96688d0025933fef12e0f71b0.tar.gz | |
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 <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-dbus_1.2.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "Python bindings for the DBus inter-process communication system" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | HOMEPAGE = "http://www.freedesktop.org/Software/dbus" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=0b83047ce9e948b67c0facc5f233476a" | ||
| 6 | DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native" | ||
| 7 | |||
| 8 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRC_URI[md5sum] = "b09cd2d1a057cc432ce944de3fc06bf7" | ||
| 12 | SRC_URI[sha256sum] = "e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df" | ||
| 13 | S = "${WORKDIR}/dbus-python-${PV}" | ||
| 14 | |||
| 15 | inherit distutils-base autotools pkgconfig | ||
| 16 | |||
| 17 | PACKAGECONFIG ?= "" | ||
| 18 | PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python3-docutils-native" | ||
| 19 | PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python3-docutils-native python3-epydoc-native" | ||
| 20 | |||
| 21 | export STAGING_LIBDIR | ||
| 22 | export STAGING_INCDIR | ||
| 23 | |||
| 24 | RDEPENDS_${PN} = "python-io python-logging python-stringold python-threading python-xml" | ||
| 25 | |||
| 26 | FILES_${PN}-dev += "${libdir}/pkgconfig" | ||
| 27 | |||
| 28 | do_install_append() { | ||
| 29 | # Remove files that clash with python3-dbus; their content is same | ||
| 30 | rm ${D}${includedir}/dbus-1.0/dbus/dbus-python.h ${D}${libdir}/pkgconfig/dbus-python.pc | ||
| 31 | } | ||
