All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH v3 1/2] python3-matplotlib: multiple changes
@ 2020-03-25  6:22 Nicola Lunghi
  2020-03-25  6:22 ` [meta-python][PATCH v3 2/2] python3-matplotlib: update to version 3.2.1 Nicola Lunghi
  0 siblings, 1 reply; 2+ messages in thread
From: Nicola Lunghi @ 2020-03-25  6:22 UTC (permalink / raw)
  To: openembedded-devel
  Cc: Khem Raj, Alexander Kanavin, Parthiban Nallathambi, Nicola Lunghi

* 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 <nick83ola@gmail.com>
---
 .../python/python3-matplotlib_3.1.1.bb        | 32 +++++++++++++++----
 1 file changed, 25 insertions(+), 7 deletions(-)

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 824680c24..c638e27b1 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"
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [meta-python][PATCH v3 2/2] python3-matplotlib: update to version 3.2.1
  2020-03-25  6:22 [meta-python][PATCH v3 1/2] python3-matplotlib: multiple changes Nicola Lunghi
@ 2020-03-25  6:22 ` Nicola Lunghi
  0 siblings, 0 replies; 2+ messages in thread
From: Nicola Lunghi @ 2020-03-25  6:22 UTC (permalink / raw)
  To: openembedded-devel
  Cc: Khem Raj, Alexander Kanavin, Parthiban Nallathambi, Nicola Lunghi

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
---
 ...hon3-matplotlib_3.1.1.bb => python3-matplotlib_3.2.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-matplotlib_3.1.1.bb => python3-matplotlib_3.2.1.bb} (79%)

diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb
rename to meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb
index c638e27b1..f6d8c53d0 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb
@@ -7,7 +7,7 @@ HOMEPAGE = "https://github.com/matplotlib/matplotlib"
 SECTION = "devel/python"
 LICENSE = "PSF"
 LIC_FILES_CHKSUM = "\
-    file://setup.py;beginline=275;endline=275;md5=2a114620e4e6843aa7568d5902501753 \
+    file://setup.py;beginline=250;endline=250;md5=2a114620e4e6843aa7568d5902501753 \
     file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \
 "
 DEPENDS = "\
@@ -18,8 +18,8 @@ DEPENDS = "\
     python3-pytz-native \
 "
 
-SRC_URI[md5sum] = "f894af5564a588e880644123237251b7"
-SRC_URI[sha256sum] = "1febd22afe1489b13c6749ea059d392c03261b2950d1d45c17e3aed812080c93"
+SRC_URI[md5sum] = "6c018a644a88120886cc7211f7c826f0"
+SRC_URI[sha256sum] = "ffe2f9cdcea1086fc414e82f42271ecf1976700b8edd16ca9d376189c6d93aee"
 
 inherit pypi setuptools3 pkgconfig
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-25  6:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25  6:22 [meta-python][PATCH v3 1/2] python3-matplotlib: multiple changes Nicola Lunghi
2020-03-25  6:22 ` [meta-python][PATCH v3 2/2] python3-matplotlib: update to version 3.2.1 Nicola Lunghi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.