Skip to contentSkip to conversation

Add python pandas recipes

PATCH In review Guy Morand 2 participants 2 messages Oct 3, 2017

lore
Share & tools
lore

Guy Morand

author
#0 lore raw

PATCH 1/1 Add python pandas recipes

---
 .../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
meta-python/recipes-devtools/python/python-pandas.inc new file +23 -0
new file mode 100644
index 0000000..2a9b381
@@ -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] = "a777e07633d83d546c55706420179551c8e01075b53c497dcf8ae4036766bc66"
+
+PYPI_PACKAGE = "pandas"
+inherit pypi
+
+DEPENDS += " \
+  ${PYTHON_PN}-numpy-native \
+  "
+
+RDEPENDS_${PN} += " \
+  ${PYTHON_PN}-numpy \
+  ${PYTHON_PN}-dateutil \
+  ${PYTHON_PN}-pytz \
+  "
meta-python/recipes-devtools/python/python-pandas_0.20.3.bb new file +7 -0
new file mode 100644
index 0000000..7b3e60f
@@ -0,0 +1,7 @@
+inherit setuptools
+require python-pandas.inc
+
+RDEPENDS_${PN} += " \
+  ${PYTHON_PN}-json \
+  ${PYTHON_PN}-importlib \
+  "
meta-python/recipes-devtools/python/python3-pandas_0.20.3.bb new file +2 -0
new file mode 100644
index 0000000..b5dd5e0
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pandas.inc
Signature · 1 line
2.7.4
#1 lore raw

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

(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-pandas.inc index 2a9b381..d1f3707 100644

meta-python/recipes-devtools/python/python-pandas.inc +6 -6
@@ -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 \
+"
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-pandas_0.20.3.bb index 7b3e60f..20973c8 100644

meta-python/recipes-devtools/python/python-pandas_0.20.3.bb +3 -3
@@ -2,6 +2,6 @@ inherit setuptools
 require python-pandas.inc
 
 RDEPENDS_${PN} += " \
-  ${PYTHON_PN}-json \
-  ${PYTHON_PN}-importlib \
-  "
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-importlib \
+"
Quoted 77 lines · Guy Morand
---
 .../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

meta-python/recipes-devtools/python/python-pandas.inc new file +3 -0
new file mode 100644
index 0000000..2a9b381
@@ -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

\

meta-python/recipes-devtools/python/python-pandas.inc new file +7 -0
+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"

meta-python/recipes-devtools/python/python-pandas.inc new file +13 -0
+
+PYPI_PACKAGE = "pandas"
+inherit pypi
+
+DEPENDS += " \
+  ${PYTHON_PN}-numpy-native \
+  "
+
+RDEPENDS_${PN} += " \
+  ${PYTHON_PN}-numpy \
+  ${PYTHON_PN}-dateutil \
+  ${PYTHON_PN}-pytz \
+  "
meta-python/recipes-devtools/python/python-pandas_0.20.3.bb new file +7 -0
new file mode 100644
index 0000000..7b3e60f
@@ -0,0 +1,7 @@
+inherit setuptools
+require python-pandas.inc
+
+RDEPENDS_${PN} += " \
+  ${PYTHON_PN}-json \
+  ${PYTHON_PN}-importlib \
+  "
meta-python/recipes-devtools/python/python3-pandas_0.20.3.bb new file +2 -1
new file mode 100644
index 0000000..b5dd5e0
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pandas.inc
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel