[oe] [PATCH] python3-matplotlib: add version 3.1.1
Parthiban Nallathambi
parthitce at gmail.com
Fri Jul 12 10:16:58 UTC 2019
On 7/12/19 12:08 PM, Adrian Bunk wrote:
> On Fri, Jul 12, 2019 at 12:01:35PM +0200, Parthiban Nallathambi wrote:
>> Signed-off-by: Parthiban Nallathambi <parthitce at gmail.com>
>> ---
>> .../python/python-matplotlib.inc | 17 +++++++++++++++++
>> .../python/python3-matplotlib_3.1.1.bb | 2 ++
>> 2 files changed, 19 insertions(+)
>> create mode 100644 meta-python/recipes-devtools/python/python-matplotlib.inc
>> create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb
>>
>> diff --git a/meta-python/recipes-devtools/python/python-matplotlib.inc b/meta-python/recipes-devtools/python/python-matplotlib.inc
>> new file mode 100644
>> index 000000000..fb5ec9d6a
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-matplotlib.inc
>> @@ -0,0 +1,17 @@
>> +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"
>> +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"
>> +
>> +SRC_URI[md5sum] = "f894af5564a588e880644123237251b7"
>> +SRC_URI[sha256sum] = "1febd22afe1489b13c6749ea059d392c03261b2950d1d45c17e3aed812080c93"
>> +
>> +PYPI_PACKAGE = "matplotlib"
>> +inherit pypi
>> 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
>> new file mode 100644
>> index 000000000..bbeebe20c
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.1.1.bb
>> @@ -0,0 +1,2 @@
>> +inherit setuptools3
>> +require python-matplotlib.inc
>
> There is no benefit in using an .inc when it isn't used by more than one
> other file.
Thanks, I will make it into single file.
Thanks,
Parthiban N
>
> cu
> Adrian
>
More information about the Openembedded-devel
mailing list