summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2019-12-17 00:20:15 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-16 10:20:15 -0600
commit9ece934084c98fd2f539bd9516e0fa51cbbcccb3 (patch)
tree9709c45b32df8f1e3897dc9403dbd3dfc79fc8e0
parentf80491826b9129ac2a8a5af7d08941d936eb12d0 (diff)
downloadspack-9ece934084c98fd2f539bd9516e0fa51cbbcccb3.tar.gz
spack-9ece934084c98fd2f539bd9516e0fa51cbbcccb3.tar.bz2
spack-9ece934084c98fd2f539bd9516e0fa51cbbcccb3.tar.xz
spack-9ece934084c98fd2f539bd9516e0fa51cbbcccb3.zip
add new package : py-s3cmd (#14166)
* add new package : py-s3cmd * add some depends and move depends behind the version
-rw-r--r--var/spack/repos/builtin/packages/py-s3cmd/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-s3cmd/package.py b/var/spack/repos/builtin/packages/py-s3cmd/package.py
new file mode 100644
index 0000000000..85c5352527
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-s3cmd/package.py
@@ -0,0 +1,31 @@
+# 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 PyS3cmd(PythonPackage):
+ """
+ S3cmd (s3cmd) is a free command line tool and client for uploading,
+ retrieving and managing data in Amazon S3 and other cloud storage
+ service providers that use the S3 protocol, such as Google Cloud
+ Storage or DreamHost DreamObjects. It is best suited for power
+ users who are familiar with command line programs.
+ """
+
+ homepage = "https://github.com/s3tools/s3cmd"
+ url = "https://github.com/s3tools/s3cmd/releases/download/v2.0.2/s3cmd-2.0.2.tar.gz"
+
+ version('2.0.2', sha256='9f244c0c10d58d0ccacbba3aa977463e32491bdd9d95109e27b67e4d46c5bd52')
+ version('2.0.1', sha256='caf09f1473301c442fba6431c983c361c9af8bde503dac0953f0d2f8f2c53c8f')
+ version('2.0.0', sha256='bf2a50802f1031cba83e99be488965803899d8ab0228c800c833b55c7269cd48')
+ version('1.6.1', sha256='4675794f84d8744ee3d35873d180f41c7b2116895ccbe2738a9bc552e1cf214e')
+ version('1.6.0', sha256='04279ee26c661d4b740449460ed93a74ffec91616f685474beea97e930fdfa5c')
+ version('1.5.2', sha256='ff8a6764e8bdd7ed48a93e51b08222bea33469d248a90b8d25315b023717b42d')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('python@2.6:+pyexpat', type=('build', 'run'))
+ depends_on('py-python-dateutil', type=('build', 'run'))
+ depends_on('py-python-magic', type=('build', 'run'))