py-hepdata-converter: Add new package (#29422)

This commit is contained in:
haralmha 2022-03-11 05:10:19 +01:00 committed by GitHub
parent 037c73c387
commit 5590f7385a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,24 @@
# Copyright 2013-2022 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 PyHepdataConverter(PythonPackage):
"""This Python 3 library provides support for converting
Old HepData input format (sample) to YAML as well as
YAML to ROOT, YODA and CSV."""
homepage = "https://github.com/HEPData/hepdata-converter"
pypi = "hepdata-converter/hepdata-converter-0.2.3.tar.gz"
maintainers = ['haralmha']
version('0.2.3', sha256='cbed0ffc512a794fae023650f10f415b687bb8c07fc67ac3321da70ce8846085')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pyyaml@5.3:', type=('build', 'run'))
depends_on('py-hepdata-validator@0.2.2:', type=('build', 'run'))