[oe] [meta-python][PATCH 3/3] Add python3 pandas

Guy Morand guy at guy-morand.ch
Fri Sep 22 10:24:51 UTC 2017


---
 .../python/python-pandas/python-pandas.inc          | 21 +++++++++++++++++++++
 .../python/python-pandas/python3-pandas_0.20.3.bb   |  5 +++++
 2 files changed, 26 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pandas/python-pandas.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pandas/python3-pandas_0.20.3.bb

diff --git a/meta-python/recipes-devtools/python/python-pandas/python-pandas.inc b/meta-python/recipes-devtools/python/python-pandas/python-pandas.inc
new file mode 100644
index 0000000..9ca3806
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pandas/python-pandas.inc
@@ -0,0 +1,21 @@
+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"
+
+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/python3-pandas_0.20.3.bb b/meta-python/recipes-devtools/python/python-pandas/python3-pandas_0.20.3.bb
new file mode 100644
index 0000000..81dd360
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pandas/python3-pandas_0.20.3.bb
@@ -0,0 +1,5 @@
+inherit setuptools3
+require python-pandas.inc
+
+SRC_URI[md5sum] = "4df858f28b4bf4fa07d9fbb7f2568173"
+SRC_URI[sha256sum] = "a777e07633d83d546c55706420179551c8e01075b53c497dcf8ae4036766bc66"
-- 
2.7.4




More information about the Openembedded-devel mailing list