summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cmake/package.py
blob: fc2ab57044334bc7761032523c89ab308c0a1f74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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')