[oe] [meta-python][PATCH] Add python pandas recipes

Martin Jansa martin.jansa at gmail.com
Tue Oct 3 10:54:35 UTC 2017


We're using 4 spaces for indentation with the closing quote as first
character on separate line, I've already updated your change when
cherry-picking to master-next, so you don't need to resend, just keep this
in mind for future patches.

https://www.openembedded.org/wiki/Styleguide#Format_Guidelines

diff --git a/meta-python/recipes-devtools/python/python-pandas.inc
b/meta-python/recipes-devtools/python/python-pandas.inc
index 2a9b381..d1f3707 100644
--- a/meta-python/recipes-devtools/python/python-pandas.inc
+++ b/meta-python/recipes-devtools/python/python-pandas.inc
@@ -13,11 +13,11 @@ PYPI_PACKAGE = "pandas"
 inherit pypi

 DEPENDS += " \
-  ${PYTHON_PN}-numpy-native \
-  "
+    ${PYTHON_PN}-numpy-native \
+"

 RDEPENDS_${PN} += " \
-  ${PYTHON_PN}-numpy \
-  ${PYTHON_PN}-dateutil \
-  ${PYTHON_PN}-pytz \
-  "
+    ${PYTHON_PN}-numpy \
+    ${PYTHON_PN}-dateutil \
+    ${PYTHON_PN}-pytz \
+"
diff --git a/meta-python/recipes-devtools/python/python-pandas_0.20.3.bb
b/meta-python/recipes-devtools/python/python-pandas_0.20.3.bb
index 7b3e60f..20973c8 100644
--- a/meta-python/recipes-devtools/python/python-pandas_0.20.3.bb
+++ b/meta-python/recipes-devtools/python/python-pandas_0.20.3.bb
@@ -2,6 +2,6 @@ inherit setuptools
 require python-pandas.inc

 RDEPENDS_${PN} += " \
-  ${PYTHON_PN}-json \
-  ${PYTHON_PN}-importlib \
-  "
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-importlib \
+"


On Tue, Oct 3, 2017 at 11:10 AM, Guy Morand <guy at guy-morand.ch> wrote:

> Signed-off-by: Guy Morand <guy at guy-morand.ch>
> ---
>  .../recipes-devtools/python/python-pandas.inc      | 23
> ++++++++++++++++++++++
>  .../python/python-pandas_0.20.3.bb                 |  7 +++++++
>  .../python/python3-pandas_0.20.3.bb                |  2 ++
>  3 files changed, 32 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python-pandas.inc
>  create mode 100644 meta-python/recipes-devtools/python/
> python-pandas_0.20.3.bb
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-pandas_0.20.3.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-pandas.inc
> b/meta-python/recipes-devtools/python/python-pandas.inc
> new file mode 100644
> index 0000000..2a9b381
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pandas.inc
> @@ -0,0 +1,23 @@
> +SUMMARY  = "pandas library for high-performance data analysis tools"
> +DESCRIPTION = "pandas is an open source, BSD-licensed library providing \
> +high-performance, easy-to-use data structures and data analysis tools for
> \
> +the Python programming language."
> +HOMEPAGE = "http://pandas.pydata.org/"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=66017d3134349017409386be85176145"
> +
> +SRC_URI[md5sum] = "4df858f28b4bf4fa07d9fbb7f2568173"
> +SRC_URI[sha256sum] = "a777e07633d83d546c557064201795
> 51c8e01075b53c497dcf8ae4036766bc66"
> +
> +PYPI_PACKAGE = "pandas"
> +inherit pypi
> +
> +DEPENDS += " \
> +  ${PYTHON_PN}-numpy-native \
> +  "
> +
> +RDEPENDS_${PN} += " \
> +  ${PYTHON_PN}-numpy \
> +  ${PYTHON_PN}-dateutil \
> +  ${PYTHON_PN}-pytz \
> +  "
> diff --git a/meta-python/recipes-devtools/python/python-pandas_0.20.3.bb
> b/meta-python/recipes-devtools/python/python-pandas_0.20.3.bb
> new file mode 100644
> index 0000000..7b3e60f
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pandas_0.20.3.bb
> @@ -0,0 +1,7 @@
> +inherit setuptools
> +require python-pandas.inc
> +
> +RDEPENDS_${PN} += " \
> +  ${PYTHON_PN}-json \
> +  ${PYTHON_PN}-importlib \
> +  "
> diff --git a/meta-python/recipes-devtools/python/python3-pandas_0.20.3.bb
> b/meta-python/recipes-devtools/python/python3-pandas_0.20.3.bb
> new file mode 100644
> index 0000000..b5dd5e0
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pandas_0.20.3.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-pandas.inc
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list