From c6fb8e3efbb14d138a3aee6cf31e6ae96d57b54f Mon Sep 17 00:00:00 2001 From: nick83ola Date: Wed, 25 Mar 2020 06:22:07 +0000 Subject: python3-matplotlib: multiple changes * The license indicated in the setup.py is PSF not the BSD. Update LICENSE * added kiwisolver and cycler to the dependencies * add missing pkgconfig class * added native for the python dependencies to DEPENDS: the setuptools need to launch the required libraries to check if they are there * remove redundant PYPI_PACKAGE * add SECTION = "devel/python" * apply oe-stylize Signed-off-by: Nicola Lunghi Signed-off-by: Khem Raj --- .../python/python3-matplotlib_3.1.1.bb | 32 +++++++++++++++++----- 1 file changed, 25 insertions(+), 7 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb index 824680c243..c638e27b14 100644 --- a/meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb @@ -4,16 +4,34 @@ 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" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74" - -DEPENDS = "python3-numpy-native python3-numpy freetype libpng python3-dateutil python3-pytz" -RDEPENDS_${PN} = "python3-numpy freetype libpng python3-dateutil python3-pytz" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "\ + file://setup.py;beginline=275;endline=275;md5=2a114620e4e6843aa7568d5902501753 \ + file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ +" +DEPENDS = "\ + freetype \ + libpng \ + python3-numpy-native \ + python3-dateutil-native \ + python3-pytz-native \ +" SRC_URI[md5sum] = "f894af5564a588e880644123237251b7" SRC_URI[sha256sum] = "1febd22afe1489b13c6749ea059d392c03261b2950d1d45c17e3aed812080c93" -PYPI_PACKAGE = "matplotlib" -inherit pypi setuptools3 +inherit pypi setuptools3 pkgconfig + +RDEPENDS_${PN} = "\ + freetype \ + libpng \ + python3-numpy \ + python3-pyparsing \ + python3-cycler \ + python3-dateutil \ + python3-kiwisolver \ + python3-pytz \ +" BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf