mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
At least one CVE is tracked by debian:matplotlib CPE (and no CVEs are tracked by the defaul python:matplotlib CPE). See CVE db query: sqlite> select * from products where PRODUCT = 'matplotlib'; CVE-2013-1424|debian|matplotlib|0.99.3-1|>=|1.4.2-3.1|< Set the CVE_PRODUCT accordingly. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
53 lines
1.4 KiB
BlitzBasic
53 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 \
|
|
python3-pybind11 \
|
|
qhull \
|
|
"
|
|
|
|
SRC_URI += "file://run-ptest \
|
|
file://0001-Do-not-download-external-dependency-tarballs-via-mes.patch \
|
|
file://0001-Change-types-for-width-height-to-match-definitions-i.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "2299372c19d56bcd35cf05a2738308758d32b9eaed2371898d8f5bd33f084aa3"
|
|
|
|
inherit pypi pkgconfig python3targetconfig meson ptest-python-pytest
|
|
|
|
EXTRA_OEMESON += "-Dsystem-freetype=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 \
|
|
"
|
|
|
|
CVE_PRODUCT = "matplotlib"
|
|
|
|
BBCLASSEXTEND = "native"
|