summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2020-08-08 09:04:41 -0700
committerGitHub <noreply@github.com>2020-08-08 11:04:41 -0500
commite4a7cb4d60d2c6b4ad83dae902c3a353c83788b5 (patch)
tree786030b6313aa882a7c5371aeca95988dac470ac /var
parent775c14e0c1879559086cfb8becb4f3b5ca1d3820 (diff)
downloadspack-e4a7cb4d60d2c6b4ad83dae902c3a353c83788b5.tar.gz
spack-e4a7cb4d60d2c6b4ad83dae902c3a353c83788b5.tar.bz2
spack-e4a7cb4d60d2c6b4ad83dae902c3a353c83788b5.tar.xz
spack-e4a7cb4d60d2c6b4ad83dae902c3a353c83788b5.zip
new package: py-cmake (#17588)
* new package: py_cmake * sync cmake and py-cmake versions * new package: py_cmake * sync cmake and py-cmake versions * flake8, improve dependency specifics * replace template stuff with actual values Co-authored-by: Sinan81 <sbulut@3vgeomatics.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-cmake/package.py20
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')