New package: py-schema (#28039)

This commit is contained in:
iarspider 2021-12-16 18:54:59 +01:00 committed by GitHub
parent f262693983
commit bb1d0d1900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# Copyright 2013-2021 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'))