From db4d92c4344bc23af1daf93657f50acd19e9d0da Mon Sep 17 00:00:00 2001 From: Sathisha S Date: Mon, 29 Jun 2026 17:02:42 +0000 Subject: [PATCH] python3-matplotlib: restore qhull source during build Restores the local qhull tarball into the matplotlib build tree so the Yocto build does not try to download it during do_compile. Signed-off-by: Sathisha S Change-Id: Ic4850ab2367891278f2a34b142b05781f19f6be3 --- .../python/python3-matplotlib_%.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 SystemReady-devicetree-band/Yocto/meta-woden/recipes-devtools/python/python3-matplotlib_%.bbappend diff --git a/SystemReady-devicetree-band/Yocto/meta-woden/recipes-devtools/python/python3-matplotlib_%.bbappend b/SystemReady-devicetree-band/Yocto/meta-woden/recipes-devtools/python/python3-matplotlib_%.bbappend new file mode 100644 index 00000000..5e804ae6 --- /dev/null +++ b/SystemReady-devicetree-band/Yocto/meta-woden/recipes-devtools/python/python3-matplotlib_%.bbappend @@ -0,0 +1,9 @@ +# Matplotlib expects a vendored qhull tree in ${S}/build during build_ext. +# The unpacked auxiliary source is not present anymore by do_compile time in +# this environment, so restore it from DL_DIR before invoking setup.py. +do_compile:prepend() { + if [ ! -d ${S}/build/qhull-2020.2 ]; then + mkdir -p ${S}/build + tar -xzf ${DL_DIR}/qhull-2020-src-8.0.2.tgz -C ${S}/build + fi +}