summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-12-16 18:54:59 +0100
committerGitHub <noreply@github.com>2021-12-16 11:54:59 -0600
commitbb1d0d1900e91831c9ea2b440766f542864b60a4 (patch)
tree22a150b6b517a00f4e2d4f0aeeff15902e76b24b /var
parentf2626939830afb1e8e04f1f8a34b641422da9572 (diff)
downloadspack-bb1d0d1900e91831c9ea2b440766f542864b60a4.tar.gz
spack-bb1d0d1900e91831c9ea2b440766f542864b60a4.tar.bz2
spack-bb1d0d1900e91831c9ea2b440766f542864b60a4.tar.xz
spack-bb1d0d1900e91831c9ea2b440766f542864b60a4.zip
New package: py-schema (#28039)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-schema/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-schema/package.py b/var/spack/repos/builtin/packages/py-schema/package.py
new file mode 100644
index 0000000000..87c3ec5f65
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-schema/package.py
@@ -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'))