From: Christopher Larson Date: Mon, 11 Aug 2014 16:15:36 +0000 (-0700) Subject: python-dbus: use PACKAGECONFIG for doc generation X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32814 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7216ddad59f6a2315323befa69eebdbf07625e25;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python-dbus: use PACKAGECONFIG for doc generation Adds 'docs' (for html doc generation) and 'api-docs' (for API doc generation) configurations and leaves them both disabled by default. This avoids autodetected dependency upon docutils. Fixes [YOCTO #6530] Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python-dbus_1.2.0.bb b/meta/recipes-devtools/python/python-dbus_1.2.0.bb index e64f99f87a3..b314dce1c7e 100644 --- a/meta/recipes-devtools/python/python-dbus_1.2.0.bb +++ b/meta/recipes-devtools/python/python-dbus_1.2.0.bb @@ -14,6 +14,10 @@ S = "${WORKDIR}/dbus-python-${PV}" inherit distutils-base autotools pkgconfig +PACKAGECONFIG ?= "" +PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python-docutils-native" +PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python-docutils-native python-epydoc-native" + export BUILD_SYS export HOST_SYS