summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-jsonschema/package.py
blob: 51d0e17ffcc4739ddc31721d39a0f377c4f37987 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2019 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 PyJsonschema(PythonPackage):
    """Jsonschema: An(other) implementation of JSON Schema for Python."""

    homepage = "http://github.com/Julian/jsonschema"
    url      = "https://pypi.io/packages/source/j/jsonschema/jsonschema-2.6.0.tar.gz"

    version('2.6.0', sha256='6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02')
    version('2.5.1', sha256='36673ac378feed3daa5956276a829699056523d7961027911f064b52255ead41')

    depends_on('py-setuptools', type='build')
    depends_on('py-vcversioner', type=('build', 'run'))
    depends_on('py-functools32', when="^python@2.7.0:2.7.999", type=('build', 'run'))