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

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

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

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