summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-s3transfer/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-s3transfer/package.py b/var/spack/repos/builtin/packages/py-s3transfer/package.py
new file mode 100644
index 0000000000..b2160b3e45
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-s3transfer/package.py
@@ -0,0 +1,22 @@
+# 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 PyS3transfer(PythonPackage):
+ """S3transfer is a Python library for managing Amazon S3 transfers."""
+
+ homepage = "https://github.com/boto/s3transfer"
+ url = "https://pypi.io/packages/source/s/s3transfer/s3transfer-0.2.1.tar.gz"
+
+ import_modules = ['s3transfer']
+
+ version('0.2.1', sha256='6efc926738a3cd576c2a79725fed9afde92378aa5c6a957e3af010cb019fac9d')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-botocore@1.12.36:1.999', type=('build', 'run'))
+ depends_on('py-futures@2.2:3', type=('build', 'run'), when='^python@:2')
+ depends_on('py-mock', type='test')