From 681245c7ed4098050dd29034d9f8430dac94c4d9 Mon Sep 17 00:00:00 2001 From: Neil Flood Date: Mon, 24 Jun 2019 04:54:48 +1000 Subject: awscli: new package (#11796) * awscli: new package * More precise py-pyyaml version dep, as per setup.py --- var/spack/repos/builtin/packages/awscli/package.py | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 var/spack/repos/builtin/packages/awscli/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/awscli/package.py b/var/spack/repos/builtin/packages/awscli/package.py new file mode 100644 index 0000000000..e502184382 --- /dev/null +++ b/var/spack/repos/builtin/packages/awscli/package.py @@ -0,0 +1,32 @@ +############################################################################## +# Copyright 2013-2018 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 Awscli(PythonPackage): + """This package provides a unified command line interface to + Amazon Web Services""" + + homepage = "https://pypi.org/project/awscli/" + url = "https://pypi.io/packages/source/a/awscli/awscli-1.16.179.tar.gz" + + version('1.16.179', sha256='6a87114d1325358d000abe22b2103baae7b91f053ff245b9fde33cb0affb5e4f') + + depends_on('py-setuptools', type='build') + depends_on('py-docutils@0.10:', type=('build', 'run')) + depends_on('py-colorama@0.2.5:0.3.9', type=('build', 'run')) + depends_on('py-rsa@3.1.2:3.5.0', type=('build', 'run')) + depends_on('py-pyyaml@3.10:3.13', type=('build', 'run'), + when='^python@2.6:2.6.99') + depends_on('py-pyyaml@3.10:5.1', type=('build', 'run'), + when='^python@2.7:') + depends_on('py-argparse@1.1:', when='^python@2.6:2.6.99', + type=('build', 'run')) + depends_on('py-s3transfer@0.2.0:0.2.999', type=('build', 'run')) + depends_on('py-botocore@1.12.169', type=('build', 'run')) + depends_on('py-nose', type='test') + depends_on('py-mock@1.3.0:', type='test') -- cgit v1.2.3-60-g2f50