From fef4e80a6ddcd4ea0841a21be2b9ed857519e40f Mon Sep 17 00:00:00 2001 From: "Kelly (KT) Thompson" Date: Wed, 15 Apr 2020 15:01:50 -0600 Subject: New package: py-cmake-format (#16055) * New package py-cmake-format * wrap long lines * Fix package description formatting. --- .../builtin/packages/py-cmake-format/package.py | 20 ++++++++++++++++++++ var/spack/repos/builtin/packages/py-six/package.py | 1 + 2 files changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-cmake-format/package.py 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')) diff --git a/var/spack/repos/builtin/packages/py-six/package.py b/var/spack/repos/builtin/packages/py-six/package.py index a7a8d32af6..22490eb9a2 100644 --- a/var/spack/repos/builtin/packages/py-six/package.py +++ b/var/spack/repos/builtin/packages/py-six/package.py @@ -14,6 +14,7 @@ class PySix(PythonPackage): import_modules = ['six'] + version('1.14.0', sha256='236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a') version('1.12.0', sha256='d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73') version('1.11.0', sha256='70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9') version('1.10.0', sha256='105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a') -- cgit v1.2.3-60-g2f50