New package: py-hepdata-lib (#27912)

This commit is contained in:
iarspider 2021-12-10 18:24:22 +01:00 committed by GitHub
parent 0960c0810c
commit 059bc53760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,24 @@
# 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 PyHepdataLib(PythonPackage):
"""Library for getting your data into HEPData"""
homepage = "https://github.com/HEPData/hepdata_lib"
pypi = "hepdata_lib/hepdata_lib-0.9.0.tar.gz"
version('0.9.0', sha256='b7b194b8af0428f34094ac403f8794a672c82d85e33154161d6b3744cc2b9896')
depends_on('py-setuptools', type='build')
depends_on('root+python', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-pyyaml@4:', type=('build', 'run'))
depends_on('py-future', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
depends_on('py-pytest-runner', type='build')
depends_on('py-pytest-cov', type='build')