From 520fd28252e0deddbf09eb564025610ea6458a55 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 14 Oct 2025 17:19:10 +0800 Subject: python3-matplotlib: upgrade 3.10.6 -> 3.10.7 Changelog: the minimum version of pyparsing has been updated to version 3.0. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-matplotlib_3.10.7.bb | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib_3.10.7.bb (limited to 'meta-python/recipes-devtools/python/python3-matplotlib_3.10.7.bb') diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.7.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.7.bb new file mode 100644 index 0000000000..b5b5250a56 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.7.bb @@ -0,0 +1,50 @@ +SUMMARY = "matplotlib: plotting with Python" +DESCRIPTION = "\ +Matplotlib is a Python 2D plotting library which produces \ +publication-quality figures in a variety of hardcopy formats \ +and interactive environments across platforms." +HOMEPAGE = "https://github.com/matplotlib/matplotlib" +SECTION = "devel/python" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "\ + file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ +" + +DEPENDS = "\ + python3-setuptools-scm-native \ + freetype \ + libpng \ + python3-pybind11 \ + qhull \ +" + +SRC_URI += "file://run-ptest \ + file://0001-Do-not-download-external-dependency-tarballs-via-mes.patch \ + file://0001-Change-types-for-width-height-to-match-definitions-i.patch \ + " +SRC_URI[sha256sum] = "a06ba7e2a2ef9131c79c49e63dad355d2d878413a0376c1727c8b9335ff731c7" + +inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest + +EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true" + +# LTO with clang needs lld +LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" + +FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests" +FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/" + +RDEPENDS:${PN} = "\ + freetype \ + libpng \ + python3-numpy \ + python3-pyparsing \ + python3-cycler \ + python3-dateutil \ + python3-kiwisolver \ + python3-pytz \ + python3-pillow \ + python3-packaging \ +" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf