From 35f0003c08f9b28eb206668b585aa5d3a71e27b0 Mon Sep 17 00:00:00 2001 From: Andreas Baumbach Date: Tue, 5 Nov 2019 19:47:52 +0100 Subject: [PATCH] new package py-cfgv (#13592) --- .../repos/builtin/packages/py-cfgv/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-cfgv/package.py diff --git a/var/spack/repos/builtin/packages/py-cfgv/package.py b/var/spack/repos/builtin/packages/py-cfgv/package.py new file mode 100644 index 0000000000..d3c53fefe0 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cfgv/package.py @@ -0,0 +1,19 @@ +# 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 PyCfgv(PythonPackage): + """Validate configuration and produce human readable error messages.""" + + homepage = "https://github.com/asottile/cfgv/" + url = "https://pypi.io/packages/source/c/cfgv/cfgv-2.0.1.tar.gz" + + version('2.0.1', sha256='edb387943b665bf9c434f717bf630fa78aecd53d5900d2e05da6ad6048553144') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-six', type=('build', 'run'))