summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb
new file mode 100644
index 0000000000..d6523e7770
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.10.1.bb
@@ -0,0 +1,49 @@
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 freetype \
15 libpng \
16 python3-pybind11 \
17 qhull \
18"
19
20SRC_URI += "file://run-ptest \
21 file://0001-Do-not-download-external-dependency-tarballs-via-mes.patch \
22 file://0001-Change-types-for-width-height-to-match-definitions-i.patch \
23 "
24SRC_URI[sha256sum] = "e8d2d0e3881b129268585bf4765ad3ee73a4591d77b9a18c214ac7e3a79fb2ba"
25
26inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest
27
28EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true"
29
30# LTO with clang needs lld
31LDFLAGS:append:toolchain-clang = " -fuse-ld=lld"
32
33FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests"
34FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/"
35
36RDEPENDS:${PN} = "\
37 freetype \
38 libpng \
39 python3-numpy \
40 python3-pyparsing \
41 python3-cycler \
42 python3-dateutil \
43 python3-kiwisolver \
44 python3-pytz \
45 python3-pillow \
46 python3-packaging \
47"
48
49BBCLASSEXTEND = "native"