summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-hepdata-converter/package.py
blob: 0a54ae8f57d4d8364dca95a72f616a710721e42f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2023 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.package 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"))