cget package (#19728)

* cget package

* Update var/spack/repos/builtin/packages/cget/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update var/spack/repos/builtin/packages/cget/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update var/spack/repos/builtin/packages/cget/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
ilbiondo 2020-11-06 23:39:42 +01:00 committed by GitHub
parent 2df73cae38
commit a3854700fb
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 Cget(PythonPackage):
"""Cmake package retrieval."""
homepage = "https://github.com/pfultz2/cget"
url = "https://pypi.io/packages/source/c/cget/cget-0.1.9.tar.gz"
version('0.1.9', sha256='2a7913b601bec615208585eda7e69998a43cc17080d36c2ff2ce8742c9794bf6')
depends_on("py-setuptools", type='build')
depends_on("py-six@1.10:", type=('build', 'run'))
depends_on("py-click@6.6:", type=('build', 'run'))
depends_on('py-subprocess32', when='^python@:2', type=('build', 'run'))