summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cerberus/package.py
blob: c7a4baea2e0b6836079ec563c36fccdca69a876f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyCerberus(PythonPackage):
    """Lightweight, extensible schema and data validation
    tool for Python dictionaries"""

    homepage = "http://docs.python-cerberus.org/"
    pypi = "Cerberus/Cerberus-1.3.4.tar.gz"

    license("0BSD")

    version("1.3.4", sha256="d1b21b3954b2498d9a79edf16b3170a3ac1021df88d197dc2ce5928ba519237c")

    depends_on("python@2.7:", type=("build", "run"))
    depends_on("py-setuptools", type="build")