diff options
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.bb | 49 |
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 @@ | |||
1 | SUMMARY = "matplotlib: plotting with Python" | ||
2 | DESCRIPTION = "\ | ||
3 | Matplotlib is a Python 2D plotting library which produces \ | ||
4 | publication-quality figures in a variety of hardcopy formats \ | ||
5 | and interactive environments across platforms." | ||
6 | HOMEPAGE = "https://github.com/matplotlib/matplotlib" | ||
7 | SECTION = "devel/python" | ||
8 | LICENSE = "PSF-2.0" | ||
9 | LIC_FILES_CHKSUM = "\ | ||
10 | file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ | ||
11 | " | ||
12 | |||
13 | DEPENDS = "\ | ||
14 | freetype \ | ||
15 | libpng \ | ||
16 | python3-pybind11 \ | ||
17 | qhull \ | ||
18 | " | ||
19 | |||
20 | SRC_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 | " | ||
24 | SRC_URI[sha256sum] = "e8d2d0e3881b129268585bf4765ad3ee73a4591d77b9a18c214ac7e3a79fb2ba" | ||
25 | |||
26 | inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest | ||
27 | |||
28 | EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true" | ||
29 | |||
30 | # LTO with clang needs lld | ||
31 | LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" | ||
32 | |||
33 | FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests" | ||
34 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/" | ||
35 | |||
36 | RDEPENDS:${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 | |||
49 | BBCLASSEXTEND = "native" | ||