mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 09:22:28 +00:00
Matplotlib now bundles libraqm via meson subprojects; build against the libraqm recipe with -Dsystem-libraqm=true and drop the patch that disabled the subproject downloads (system freetype/qhull/libraqm need no wraps). Changes: - Text and font processing overhauled using libraqm/HarfBuzz (complex text layout). libraqm is bundled and fetched as a meson subproject unless -Dsystem-libraqm=true; offline builds need it supplied. - BREAKING: Python >= 3.11 (was 3.10), NumPy >= 1.25 (was 1.23), Pillow >= 9 (was 8), fonttools >= 4.28.2; build requires meson-python >= 0.13.2 (!= 0.17.*) and setuptools_scm < 10. - Improvements to 3D Axes, performance, new accessible color sequences and flexible figure management; see upstream API change notes. - 3.11.1/3.11.2 fix tight layout, 3D axis, PDF/PS font embedding and hexbin clipping, GIF skew, Qt/WebAgg HiDPI and Cairo glyph bugs. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
55 lines
1.4 KiB
BlitzBasic
55 lines
1.4 KiB
BlitzBasic
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 \
|
|
libraqm \
|
|
python3-pybind11 \
|
|
qhull \
|
|
"
|
|
|
|
SRC_URI += "file://run-ptest \
|
|
file://0001-Change-types-for-width-height-to-match-definitions-i.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "cec596316640f2b394b8f0daa0ea61a8eae82d017b620b9f202befb972a59ea4"
|
|
|
|
inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest
|
|
|
|
EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-libraqm=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 \
|
|
"
|
|
|
|
TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
|
|
|
|
CVE_PRODUCT = "matplotlib"
|
|
|
|
BBCLASSEXTEND = "native"
|