Add new package awscli-v2 and its missing dependency awscrt (#40288)
* Add new package awscli-v2 and its missing dependency awscrt * Remove boilerplate comments from awscli-v2 and awscrt packages * Fix typos in var/spack/repos/builtin/packages/awscli-v2/package.py * Update var/spack/repos/builtin/packages/awscli-v2/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/awscli-v2/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/awscli-v2/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/awscli-v2/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/awscli-v2/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Address reviewer comments * Remove py-pip version dependency from var/spack/repos/builtin/packages/awscli-v2/package.py --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
931fce2c24
commit
da637dba84
2 changed files with 50 additions and 0 deletions
31
var/spack/repos/builtin/packages/awscli-v2/package.py
Normal file
31
var/spack/repos/builtin/packages/awscli-v2/package.py
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Copyright 2013-2023 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.package import *
|
||||
|
||||
|
||||
class AwscliV2(PythonPackage):
|
||||
"""This package provides a unified command line interface to Amazon Web Services."""
|
||||
|
||||
homepage = "https://docs.aws.amazon.com/cli"
|
||||
url = "https://github.com/aws/aws-cli/archive/refs/tags/2.13.22.tar.gz"
|
||||
|
||||
maintainers("climbfuji")
|
||||
|
||||
version("2.13.22", sha256="dd731a2ba5973f3219f24c8b332a223a29d959493c8a8e93746d65877d02afc1")
|
||||
|
||||
depends_on("python@3.8:", type=("build", "run"))
|
||||
depends_on("py-flit-core@3.7.1:3.8.0", type=("build"))
|
||||
depends_on("py-colorama@0.2.5:0.4.6", type=("build", "run"))
|
||||
depends_on("py-docutils@0.10:0.19", type=("build", "run"))
|
||||
depends_on("py-cryptography@3.3.2:40.0.1", type=("build", "run"))
|
||||
depends_on("py-ruamel-yaml@0.15:0.17.21", type=("build", "run"))
|
||||
depends_on("py-ruamel-yaml-clib@0.2:0.2.7", type=("build", "run"))
|
||||
depends_on("py-prompt-toolkit@3.0.24:3.0.38", type=("build", "run"))
|
||||
depends_on("py-distro@1.5:1.8", type=("build", "run"))
|
||||
depends_on("py-awscrt@0.16.4:0.16.16", type=("build", "run"))
|
||||
depends_on("py-python-dateutil@2.1:2", type=("build", "run"))
|
||||
depends_on("py-jmespath@0.7.1:1.0", type=("build", "run"))
|
||||
depends_on("py-urllib3@1.25.4:1.26", type=("build", "run"))
|
19
var/spack/repos/builtin/packages/py-awscrt/package.py
Normal file
19
var/spack/repos/builtin/packages/py-awscrt/package.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Copyright 2013-2023 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.package import *
|
||||
|
||||
|
||||
class PyAwscrt(PythonPackage):
|
||||
"""Python 3 bindings for the AWS Common Runtime."""
|
||||
|
||||
homepage = "https://docs.aws.amazon.com/sdkref/latest/guide/common-runtime.html"
|
||||
pypi = "awscrt/awscrt-0.16.16.tar.gz"
|
||||
|
||||
maintainers("climbfuji")
|
||||
|
||||
version("0.16.16", sha256="13075df2c1d7942fe22327b6483274517ee0f6ae765c4e6b6ae9ef5b4c43a827")
|
||||
|
||||
depends_on("py-setuptools", type=("build"))
|
Loading…
Reference in a new issue