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>
This commit is contained in:
Sinan 2020-08-08 09:04:41 -07:00 committed by GitHub
parent 775c14e0c1
commit e4a7cb4d60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')