new package: py-uproot (#22658)
This commit is contained in:
parent
bee9e34b50
commit
1ed7762327
1 changed files with 26 additions and 0 deletions
26
var/spack/repos/builtin/packages/py-uproot/package.py
Normal file
26
var/spack/repos/builtin/packages/py-uproot/package.py
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Copyright 2013-2021 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 PyUproot(PythonPackage):
|
||||
"""ROOT I/O in pure Python and NumPy.
|
||||
|
||||
Uproot is a reader and a writer of the ROOT file format using only Python
|
||||
and Numpy. Unlike the standard C++ ROOT implementation, Uproot is only an
|
||||
I/O library, primarily intended to stream data into machine learning
|
||||
libraries in Python. Unlike PyROOT and root_numpy, Uproot does not depend
|
||||
on C++ ROOT. Instead, it uses Numpy to cast blocks of data from the ROOT
|
||||
file as Numpy arrays."""
|
||||
|
||||
homepage = "https://github.com/scikit-hep/uproot4"
|
||||
pypi = "uproot/uproot-4.0.6.tar.gz"
|
||||
|
||||
version('4.0.6', sha256='1bea2ccc899c6959fb2af69d7e5d1e2df210caab30d3510e26f3fc07c143c37e')
|
||||
|
||||
depends_on('python@2.6:2.999,3.5:', type=('build', 'run'))
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-numpy', type=('build', 'run'))
|
Loading…
Reference in a new issue