23 lines
739 B
Python
23 lines
739 B
Python
# Copyright Spack Project Developers. See 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.7", sha256="7da553abd2958a19dc2547c388cde53398b39196175a9be59ea1caf5ab0a1807")
|
|
version("0.7.5", sha256="f06717112c61895cabc4707752b88716e8420a8819d71404501e114f91043197")
|
|
|
|
depends_on("py-setuptools", type="build")
|
|
|
|
depends_on("py-contextlib2@0.5.5:", type=("build", "run"), when="@:0.7.5")
|
|
depends_on("py-contextlib2@0.5.5:", type=("build", "run"), when="^python@:3.2")
|