[oe-commits] Ross Burton : python-pycurl: build docstrings to fix rebuilds
git at git.openembedded.org
git at git.openembedded.org
Thu Dec 11 11:31:55 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: f5bc0ba35ac531feae2e84bbc4f9d16f861db6c6
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f5bc0ba35ac531feae2e84bbc4f9d16f861db6c6
Author: Ross Burton <ross.burton at intel.com>
Date: Tue Dec 9 15:05:35 2014 +0000
python-pycurl: build docstrings to fix rebuilds
On a rebuild base.bbclass will invoke "make clean" to ensure that old build
objects are not used. This will delete docstrings.c and the only way to
re-generate that is with a dedicated setup.py target.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/python/python-pycurl_7.19.5.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.5.bb b/meta/recipes-devtools/python/python-pycurl_7.19.5.bb
index a21a426..e4619c7 100644
--- a/meta/recipes-devtools/python/python-pycurl_7.19.5.bb
+++ b/meta/recipes-devtools/python/python-pycurl_7.19.5.bb
@@ -29,6 +29,11 @@ export STAGING_LIBDIR
BBCLASSEXTEND = "native"
+# Ensure the docstrings are generated as make clean will remove them
+do_compile_prepend() {
+ ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py docstrings
+}
+
do_install_append() {
rm -rf ${D}${datadir}/share
}
More information about the Openembedded-commits
mailing list