summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvolkl <valentin.volkl@cern.ch>2020-09-23 18:17:57 +0200
committerGitHub <noreply@github.com>2020-09-23 18:17:57 +0200
commit394a23d3922a32bc699329efd20aafd748fbbf9f (patch)
tree03df1baf9f2b873f3ae1a0e4b44e330c2d2580dd
parent3c418d9faa3c8f3d353b4a4ccad78b708a7b0bad (diff)
downloadspack-394a23d3922a32bc699329efd20aafd748fbbf9f.tar.gz
spack-394a23d3922a32bc699329efd20aafd748fbbf9f.tar.bz2
spack-394a23d3922a32bc699329efd20aafd748fbbf9f.tar.xz
spack-394a23d3922a32bc699329efd20aafd748fbbf9f.zip
py-uproot4: added new package at v0.0.27 (#18891)
-rw-r--r--var/spack/repos/builtin/packages/py-uproot4/package.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-uproot4/package.py b/var/spack/repos/builtin/packages/py-uproot4/package.py
new file mode 100644
index 0000000000..4befa0ee76
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-uproot4/package.py
@@ -0,0 +1,39 @@
+# 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 PyUproot4(PythonPackage):
+ """ROOT I/O in pure Python and NumPy."""
+
+ homepage = "https://uproot4.readthedocs.io"
+ git = "https://github.com/scikit-hep/uproot4"
+ url = "https://github.com/scikit-hep/uproot4/archive/0.0.27.tar.gz"
+
+ maintainers = ['vvolkl']
+
+ version('master', branch='master')
+ version('0.0.27', sha256='de87555937332998b476f3e310392962bc983bddc008ed2b3c07a25c0379c4c9')
+
+ variant('xrootd', default=True,
+ description='Build with xrootd support ')
+ variant('lz4', default=True,
+ description='Build with support for reading '
+ 'lz4-compressed rootfiles ')
+
+ variant('zstd', default=True,
+ description='Build with support for reading '
+ 'zstd-compressed rootfiles ')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+
+ depends_on('xrootd', when="+xrootd")
+
+ depends_on('lz4', when="+lz4")
+ depends_on('xxhash', when="+lz4")
+
+ depends_on('zstd', when="+zstd")