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

    homepage = "https://github.com/keleshev/schema"
    pypi = "schema/schema-0.7.5.tar.gz"

    license("MIT")

    version("0.7.5", sha256="f06717112c61895cabc4707752b88716e8420a8819d71404501e114f91043197")

    depends_on("py-setuptools", type="build")
    depends_on("py-contextlib2@0.5.5:", type=("build", "run"))