[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30570] [PATCH 15/16] gnu: Add python-pyarrow.
From: |
Leo Famulari |
Subject: |
[bug#30570] [PATCH 15/16] gnu: Add python-pyarrow. |
Date: |
Wed, 21 Feb 2018 14:35:19 -0500 |
* gnu/packages/databases.scm (python-pyarrow, python2-pyarrow): New variables.
---
gnu/packages/databases.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8de274ab2..d7d005f84 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2791,3 +2791,49 @@ representations of flat and hierarchical data along with
multiple
language-bindings for structure manipulation. It also provides IPC and common
algorithm implementations.")
(license license:asl2.0)))
+
+(define-public python-pyarrow
+ (package
+ (name "python-pyarrow")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/apache/arrow")
+ (commit (string-append "apache-arrow-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1x7sdd8lbs3nfqjql1pcgbkjc19bls56zmgjayshkmablvlc4dy3"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f ; XXX Test failures related to missing libhdfs, libhdfs3,
+ ; and "Unsupported numpy type 22".
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enter-source-directory
+ (lambda _ (chdir "python") #t))
+ (add-after 'unpack 'set-env
+ (lambda _
+ (setenv "ARROW_HOME" (assoc-ref %build-inputs "apache-arrow"))
+ #t)))))
+ (propagated-inputs
+ `(("apache-arrow" ,apache-arrow)
+ ("python-numpy" ,python-numpy)
+ ("python-pandas" ,python-pandas)
+ ("python-six" ,python-six)))
+ (native-inputs
+ `(("cmake" ,cmake)
+ ("python-cython" ,python-cython)
+ ("python-pytest" ,python-pytest)
+ ("python-setuptools-scm" ,python-setuptools-scm)))
+ (home-page "https://arrow.apache.org/docs/python/")
+ (synopsis "Python library for Apache Arrow")
+ (description "This library provides a Pythonic API wrapper for the
reference
+Arrow C++ implementation, along with tools for interoperability with pandas,
+NumPy, and other traditional Python scientific computing packages.")
+ (license license:asl2.0)))
+
+(define-public python2-pyarrow
+ (package-with-python2 python-pyarrow))
--
2.16.1
- [bug#30570] Patches submitted on behalf of Nextjournal, Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 01/16] gnu: Add flatbuffers., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 02/16] gnu: Add python-plotly., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 06/16] gnu: Add r-geosphere., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 16/16] gnu: Add python-feather-format., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 15/16] gnu: Add python-pyarrow.,
Leo Famulari <=
- [bug#30570] [PATCH 03/16] gnu: Add r-maps., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 11/16] gnu: Add r-ggmap., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 08/16] gnu: Add r-desolve., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 10/16] gnu: Add r-jpeg., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 13/16] gnu: Add google-brotli., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 04/16] gnu: Add r-mapproj., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 12/16] gnu: Add r-feather., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 09/16] gnu: Add Diversitree., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 14/16] gnu: Add apache-arrow., Leo Famulari, 2018/02/21
- [bug#30570] [PATCH 05/16] gnu: Add Rgooglemaps., Leo Famulari, 2018/02/21