diff options
author | haralmha <47558670+haralmha@users.noreply.github.com> | 2022-03-11 05:10:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 22:10:19 -0600 |
commit | 5590f7385abd9fafa0b044b0fec067cd2e287a70 (patch) | |
tree | 3cfe8ecc067b822267c1220deb25990c83e181a8 | |
parent | 037c73c387fd80821cb390049a3bbe8ccf0befd8 (diff) | |
download | spack-5590f7385abd9fafa0b044b0fec067cd2e287a70.tar.gz spack-5590f7385abd9fafa0b044b0fec067cd2e287a70.tar.bz2 spack-5590f7385abd9fafa0b044b0fec067cd2e287a70.tar.xz spack-5590f7385abd9fafa0b044b0fec067cd2e287a70.zip |
py-hepdata-converter: Add new package (#29422)
-rw-r--r-- | var/spack/repos/builtin/packages/py-hepdata-converter/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-hepdata-converter/package.py b/var/spack/repos/builtin/packages/py-hepdata-converter/package.py new file mode 100644 index 0000000000..81cd35c458 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-hepdata-converter/package.py @@ -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')) |