diff options
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.bb | 50 |
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 @@ | |||
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 | python3-setuptools-scm-native \ | ||
15 | freetype \ | ||
16 | libpng \ | ||
17 | python3-pybind11 \ | ||
18 | qhull \ | ||
19 | " | ||
20 | |||
21 | SRC_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 | " | ||
25 | SRC_URI[sha256sum] = "2f82d2c5bb7ae93aaaa4cd42aca65d76ce6376f83304fa3a630b569aca274df0" | ||
26 | |||
27 | inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest | ||
28 | |||
29 | EXTRA_OEMESON += "-Dsystem-freetype=true -Dsystem-qhull=true" | ||
30 | |||
31 | # LTO with clang needs lld | ||
32 | LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" | ||
33 | |||
34 | FILES:${PN}-ptest += "${PYTHON_SITEPACKAGES_DIR}/matplotlib/tests" | ||
35 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/" | ||
36 | |||
37 | RDEPENDS:${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 | |||
50 | BBCLASSEXTEND = "native" | ||