From 8ac4284e66c3ec44f9d14bd00499e3b47cc36ee0 Mon Sep 17 00:00:00 2001 From: manifest Date: Fri, 23 Oct 2020 14:34:38 +1030 Subject: [PATCH] Bcolz (#19331) * gemini dep -py-bcolz + * Update var/spack/repos/builtin/packages/py-bcolz/package.py Co-authored-by: Adam J. Stewart * Update var/spack/repos/builtin/packages/py-bcolz/package.py Co-authored-by: Adam J. Stewart * py-bcolz URL fix * Update var/spack/repos/builtin/packages/py-bcolz/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- .../builtin/packages/py-bcolz/package.py | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-bcolz/package.py diff --git a/var/spack/repos/builtin/packages/py-bcolz/package.py b/var/spack/repos/builtin/packages/py-bcolz/package.py new file mode 100644 index 0000000000..74791dcdc4 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-bcolz/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2020 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 PyBcolz(PythonPackage): + """bcolz provides columnar and compressed data containers. Column + storage allows for efficiently querying tables with a large number + of columns. It also allows for cheap addition and removal of column. + In addition, bcolz objects are compressed by default for reducing + memory/disk I/O needs. The compression process is carried out internally + by Blosc, a high-performance compressor that is optimized for binary data. + """ + + homepage = "https://github.com/Blosc/bcolz" + url = "https://pypi.io/packages/source/b/bcolz/bcolz-1.2.1.tar.gz" + + version('1.2.1', sha256='c017d09bb0cb5bbb07f2ae223a3f3638285be3b574cb328e91525b2880300bd1') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + depends_on('py-numpy@1.7:', type=('build', 'run')) + depends_on('py-setuptools@18.1:', type='build') + depends_on('py-setuptools-scm@1.5.5:', type='build') + depends_on('py-cython@0.22:', type='build')