diff options
author | Andreas Baumbach <healther@users.noreply.github.com> | 2019-11-26 19:24:02 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-11-26 12:24:02 -0600 |
commit | 7764fd083358a13a8a56a01abfde66f5f18ab14a (patch) | |
tree | 3bff6b5cc09fa218f4a6812b98f47bb75fd545a2 | |
parent | eb0561735dd8b71c83b8bc31f3f0fb7d81388511 (diff) | |
download | spack-7764fd083358a13a8a56a01abfde66f5f18ab14a.tar.gz spack-7764fd083358a13a8a56a01abfde66f5f18ab14a.tar.bz2 spack-7764fd083358a13a8a56a01abfde66f5f18ab14a.tar.xz spack-7764fd083358a13a8a56a01abfde66f5f18ab14a.zip |
new package: py-arrow (#13575)
* new package: py-arrow
* actually use dependencies from 0.14.7 not from current HEAD
* drop dependencies that dont appear in the source
* readd sphinx as doc dependency
* update dependencies
* drop doc-only dependencies
-rw-r--r-- | var/spack/repos/builtin/packages/py-arrow/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-arrow/package.py b/var/spack/repos/builtin/packages/py-arrow/package.py new file mode 100644 index 0000000000..d307e6bbb3 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-arrow/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyArrow(PythonPackage): + """Arrow is a Python library that offers a sensible and human-friendly + approach to creating, manipulating, formatting and converting dates, + times and timestamps. It implements and updates the datetime type, + plugging gaps in functionality and providing an intelligent module API + that supports many common creation scenarios. Simply put, it helps you + work with dates and times with fewer imports and a lot less code.""" + + homepage = "https://arrow.readthedocs.io/en/latest/" + url = "https://pypi.io/packages/source/a/arrow/arrow-0.14.7.tar.gz" + + version('0.14.7', sha256='67f8be7c0cf420424bc62d8d7dc40b44e4bb2f7b515f9cc2954fb36e35797656') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-backports-functools_lru_cache@1.2.1:', type=('build', 'run'), when='^python@2.7:2.8') + depends_on('py-python-dateutil', type=('build', 'run')) + depends_on('py-chai', type='test') + depends_on('py-mock', type='test') + depends_on('py-pytz@2019.0:', type='test') |