mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when they are not set, scripts that utilize distutils (e.g. python-config) fail. Several recipes need to export those manually to prevent such failures, so let's do that in the class instead. PYTHON variable is exported because otherwise autotools' python.m4 macro will pick up its own internal default, which may not be the version that we want. glib recipe in particular was previously using Python 2.x during build due to python.m4 defaulting to it - now it's using Python 3.x, and so needs a small fix in deletion of *.pyc files. (From OE-Core rev: c1e0eb62f2d89b10b187016200018830b1c77945) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
961 B
BlitzBasic
24 lines
961 B
BlitzBasic
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"
|
|
|
|
SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "7372a588c83a7232b4e08159bfd48fe5"
|
|
SRC_URI[sha256sum] = "e2f1d6871f74fba23652e51d10873e54f71adab0525833c19bad9e99b1b2f9cc"
|
|
S = "${WORKDIR}/dbus-python-${PV}"
|
|
|
|
inherit distutils3-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"
|
|
|
|
RDEPENDS_${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml"
|
|
|
|
FILES_${PN}-dev += "${libdir}/pkgconfig"
|