From ffb7e83e6523bbb4cb1e148085dd19645b3425e4 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 16 Jun 2019 01:44:41 -0500 Subject: [PATCH] Add new package py-boto3 (#11722) --- .../builtin/packages/py-boto3/package.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-boto3/package.py diff --git a/var/spack/repos/builtin/packages/py-boto3/package.py b/var/spack/repos/builtin/packages/py-boto3/package.py new file mode 100644 index 0000000000..d76ee27abf --- /dev/null +++ b/var/spack/repos/builtin/packages/py-boto3/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2019 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 PyBoto3(PythonPackage): + """The AWS SDK for Python.""" + + homepage = "https://github.com/boto/boto3" + url = "https://pypi.io/packages/source/b/boto3/boto3-1.9.169.tar.gz" + + import_modules = [ + 'boto3', 'boto3.s3', 'boto3.resources', 'boto3.dynamodb', + 'boto3.docs', 'boto3.ec2' + ] + + version('1.9.169', sha256='9d8bd0ca309b01265793b7e8d7b88c1df439737d77c8725988f0277bbf58d169') + + depends_on('py-setuptools', type='build') + depends_on('py-botocore@1.12.169:1.12.999', type=('build', 'run')) + depends_on('py-jmespath@0.7.1:0.999', type=('build', 'run')) + depends_on('py-s3transfer@0.2.0:0.2.999', type=('build', 'run'))