From cc12d0fe00821e8f46d5c09b81cdb6b433640d15 Mon Sep 17 00:00:00 2001 From: Oleksandr Kravchuk Date: Sat, 11 Dec 2021 20:33:20 +0100 Subject: python3-matplotlib: update to 3.5.1 Signed-off-by: Oleksandr Kravchuk Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-matplotlib_3.4.1.bb | 50 --------------------- .../python/python3-matplotlib_3.5.1.bb | 52 ++++++++++++++++++++++ 2 files changed, 52 insertions(+), 50 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-matplotlib_3.4.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.4.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.4.1.bb deleted file mode 100644 index 9e933f5c4b..0000000000 --- a/meta-python/recipes-devtools/python/python3-matplotlib_3.4.1.bb +++ /dev/null @@ -1,50 +0,0 @@ -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" -LIC_FILES_CHKSUM = "\ - file://setup.py;beginline=282;endline=282;md5=20e7ab4d2b2b1395a0e4ab800181eb96 \ - file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ -" -DEPENDS = "\ - freetype \ - libpng \ - python3-numpy-native \ - python3-dateutil-native \ - python3-pytz-native \ - python3-certifi-native \ -" - -SRC_URI[sha256sum] = "84d4c4f650f356678a5d658a43ca21a41fca13f9b8b00169c0b76e6a6a948908" - -inherit pypi setuptools3 pkgconfig - -# LTO with clang needs lld -LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" -LDFLAGS:remove:toolchain-clang:mips = "-fuse-ld=lld" - -RDEPENDS:${PN} = "\ - freetype \ - libpng \ - python3-numpy \ - python3-pyparsing \ - python3-cycler \ - python3-dateutil \ - python3-kiwisolver \ - python3-pytz \ -" - -ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/setup.cfg" -ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/setup.cfg" -ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/setup.cfg" -do_compile:prepend() { - echo [libs] > ${S}/setup.cfg - echo system_freetype = true >> ${S}/setup.cfg - ${ENABLELTO} -} - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb new file mode 100644 index 0000000000..f9eb79ff1c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb @@ -0,0 +1,52 @@ +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" +LIC_FILES_CHKSUM = "\ + file://setup.py;beginline=296;endline=296;md5=20e7ab4d2b2b1395a0e4ab800181eb96 \ + file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ +" + +DEPENDS = "\ + freetype \ + libpng \ + ${PYTHON_PN}-numpy-native \ + ${PYTHON_PN}-pip-native \ + ${PYTHON_PN}-dateutil-native \ + ${PYTHON_PN}-pytz-native \ + ${PYTHON_PN}-certifi-native \ +" + +SRC_URI[sha256sum] = "b2e9810e09c3a47b73ce9cab5a72243a1258f61e7900969097a817232246ce1c" + +inherit pypi setuptools3 pkgconfig + +# LTO with clang needs lld +LDFLAGS:append:toolchain-clang = " -fuse-ld=lld" +LDFLAGS:remove:toolchain-clang:mips = "-fuse-ld=lld" + +RDEPENDS:${PN} = "\ + freetype \ + libpng \ + ${PYTHON_PN}-numpy \ + ${PYTHON_PN}-pyparsing \ + ${PYTHON_PN}-cycler \ + ${PYTHON_PN}-dateutil \ + ${PYTHON_PN}-kiwisolver \ + ${PYTHON_PN}-pytz \ +" + +ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/setup.cfg" +ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/setup.cfg" +ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/setup.cfg" +do_compile:prepend() { + echo [libs] > ${S}/setup.cfg + echo system_freetype = true >> ${S}/setup.cfg + ${ENABLELTO} +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf