summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cerberus/package.py
blob: 2f3568847c2f5df0f56a88130cfb04396d3ffc03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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"

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

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