diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-cmake/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cmake/package.py b/var/spack/repos/builtin/packages/py-cmake/package.py new file mode 100644 index 0000000000..fc2ab57044 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cmake/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 PyCmake(PythonPackage): + """CMake is an open-source, cross-platform family of tools designed to + build, test and package software + """ + + homepage = "https://cmake.org/" + url = "https://pypi.io/packages/source/c/cmake/cmake-3.18.0.tar.gz" + + version('3.18.0', sha256='52b98c5ee70b5fa30a8623e96482227e065292f78794eb085fdf0fecb204b79b') + + depends_on('cmake@3.18.0', type=('build', 'link', 'run'), when='@3.18.0') + depends_on('py-scikit-build', type='build') |