summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDom Heinzeller <dom.heinzeller@icloud.com>2023-10-04 09:34:23 -0600
committerGitHub <noreply@github.com>2023-10-04 09:34:23 -0600
commitda637dba842c05ce45073b5cb986d3f6ee6b25e4 (patch)
tree0e627acb7671203d4480047e2347e3686fb9b1fb
parent931fce2c24a79eec0ec20c388d949ee088a82e28 (diff)
downloadspack-da637dba842c05ce45073b5cb986d3f6ee6b25e4.tar.gz
spack-da637dba842c05ce45073b5cb986d3f6ee6b25e4.tar.bz2
spack-da637dba842c05ce45073b5cb986d3f6ee6b25e4.tar.xz
spack-da637dba842c05ce45073b5cb986d3f6ee6b25e4.zip
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>
-rw-r--r--var/spack/repos/builtin/packages/awscli-v2/package.py31
-rw-r--r--var/spack/repos/builtin/packages/py-awscrt/package.py19
2 files changed, 50 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/awscli-v2/package.py b/var/spack/repos/builtin/packages/awscli-v2/package.py
new file mode 100644
index 0000000000..49436945f9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/awscli-v2/package.py
@@ -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"))
diff --git a/var/spack/repos/builtin/packages/py-awscrt/package.py b/var/spack/repos/builtin/packages/py-awscrt/package.py
new file mode 100644
index 0000000000..652e7164a6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-awscrt/package.py
@@ -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"))