summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cmake-format/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-cmake-format/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-cmake-format/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cmake-format/package.py b/var/spack/repos/builtin/packages/py-cmake-format/package.py
new file mode 100644
index 0000000000..a8f6f86229
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cmake-format/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2020 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 PyCmakeFormat(PythonPackage):
+ """cmake-format project provides Quality Assurance (QA) tools for
+ cmake. Tools include cmake-annotate, cmake-format, cmake-lint,
+ and ctest-to."""
+
+ homepage = "https://pypi.python.org/pypi/cmake-format"
+ url = "https://pypi.io/packages/source/c/cmake_format/cmake_format-0.6.9.tar.gz"
+
+ version('0.6.9', sha256='b2f8bf2e9c6651126f2f2954b7803222b0faf6b8649eabc4d965ea97483a4d20')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-six@1.13.0:', type=('build', 'run'))