(py)arrow: new versions (#13561)

* (py)arrow: new versions

* move py-arrow source to github as not all versions are on pypi
  same checksum as pypi, adding build_directory

* move back to pypi sources

* drop 0.15.0 and 0.14.1 as only .whl are available on pypi

* add new dependencies

* Update var/spack/repos/builtin/packages/py-pyarrow/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Andreas Baumbach 2019-11-07 18:52:29 +01:00 committed by Adam J. Stewart
parent 76c15f11e0
commit 0616c6ada1
2 changed files with 16 additions and 2 deletions

View File

@ -15,6 +15,9 @@ class Arrow(CMakePackage):
homepage = "http://arrow.apache.org"
url = "https://github.com/apache/arrow/archive/apache-arrow-0.9.0.tar.gz"
version('0.15.1', sha256='ab1c0d371a10b615eccfcead71bb79832245d788f4834cc6b278c03c3872d593')
version('0.15.0', sha256='d1072d8c4bf9166949f4b722a89350a88b7c8912f51642a5d52283448acdfd58')
version('0.14.1', sha256='69d9de9ec60a3080543b28a5334dbaf892ca34235b8bd8f8c1c01a33253926c1')
version('0.12.1', sha256='aae68622edc3dcadaa16b2d25ae3f00290d5233100321993427b03bcf5b1dd3b')
version('0.11.0', sha256='0ac629a7775d86108e403eb66d9f1a3d3bdd6b3a497a86228aa4e8143364b7cc')
version('0.9.0', sha256='65f89a3910b6df02ac71e4d4283db9b02c5b3f1e627346c7b6a5982ae994af91')

View File

@ -13,8 +13,9 @@ class PyPyarrow(PythonPackage):
"""
homepage = "http://arrow.apache.org"
url = "https://pypi.org/packages/source/p/pyarrow/pyarrow-0.9.0.tar.gz"
url = 'https://pypi.org/packages/source/p/pyarrow/pyarrow-0.15.1.tar.gz'
version('0.15.1', sha256='7ad074690ba38313067bf3bbda1258966d38e2037c035d08b9ffe3cce07747a5')
version('0.12.1', sha256='10db6e486c918c3af999d0114a22d92770687e3a6607ea3f14e6748854824c2a')
version('0.11.0', sha256='07a6fd71c5d7440f2c42383dd2c5daa12d7f0a012f1e88288ed08a247032aead')
version('0.9.0', sha256='7db8ce2f0eff5a00d6da918ce9f9cfec265e13f8a119b4adb1595e5b19fd6242')
@ -24,9 +25,19 @@ class PyPyarrow(PythonPackage):
depends_on('cmake@3.0.0:', type='build')
depends_on('pkgconfig', type='build')
depends_on('py-setuptools', type='build')
depends_on('py-setuptools-scm', type='build', when='@0.15.0:')
depends_on('py-cython', type='build')
depends_on('py-cython@0.29:', type='build', when='@0.15.0:')
depends_on('py-pytest', type='test', when='@0.15.0:')
depends_on('py-pandas', type='test', when='@0.15.0:')
depends_on('py-hypothesis', type='test', when='@0.15.0:')
depends_on('py-pathlib2', type='test', when='@0.15.0: ^python@:3.3.99')
depends_on('py-numpy@1.14:', type=('build', 'run'), when='@0.15.0:')
depends_on('py-six@1.0.0:', type=('build', 'run'), when='@0.15.0:')
depends_on('py-futures', type=('build', 'run'), when='@0.15.0:^python@:3.1.99')
depends_on('py-enum34@1.1.6:', type=('build', 'run'), when='@0.15.0:^python@:3.3.99')
for v in ('@0.9.0', '@0.11.0', '@0.12.1'):
for v in ('@0.9.0', '@0.11.0', '@0.12.1', '@0.15.1'):
depends_on('arrow+python' + v, when=v)
depends_on('arrow+parquet+python' + v, when='+parquet' + v)