summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb
new file mode 100644
index 0000000000..97a2910fa2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb
@@ -0,0 +1,50 @@
1SUMMARY = "matplotlib: plotting with Python"
2DESCRIPTION = "\
3Matplotlib is a Python 2D plotting library which produces \
4publication-quality figures in a variety of hardcopy formats \
5and interactive environments across platforms."
6HOMEPAGE = "https://github.com/matplotlib/matplotlib"
7SECTION = "devel/python"
8LICENSE = "PSF-2.0"
9LIC_FILES_CHKSUM = "\
10 file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \
11"
12
13DEPENDS = "\
14 python3-setuptools-scm-native \
15 freetype \
16 libpng \
17 python3-pybind11 \
18 qhull \
19"
20
21SRC_URI += "file://run-ptest \
22 file://0001-Do-not-download-external-dependency-tarballs-via-mes.patch \
23 file://0001-Change-types-for-width-height-to-match-definitions-i.patch \
24 "
25SRC_URI[sha256sum] = "2f82d2c5bb7ae93aaaa4cd42aca65d76ce6376f83304fa3a630b569aca274df0"
26
27inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest
28
29EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true"
30
31# LTO with clang needs lld
32LDFLAGS:append:toolchain-clang = " -fuse-ld=lld"
33
34FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests"
35FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/"
36
37RDEPENDS:${PN} = "\
38 freetype \
39 libpng \
40 python3-numpy \
41 python3-pyparsing \
42 python3-cycler \
43 python3-dateutil \
44 python3-kiwisolver \
45 python3-pytz \
46 python3-pillow \
47 python3-packaging \
48"
49
50BBCLASSEXTEND = "native"