summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmjad Kotobi <amjadkotbi@gmail.com>2020-03-28 18:14:05 +0100
committerGitHub <noreply@github.com>2020-03-28 12:14:05 -0500
commitc1d111af74355dc911229e05982b60ae77b4d057 (patch)
tree393e609f9421b38eefbee20fe0aad3614417e046
parent6969526e0f746a07ad7d9fcd073928ff1cc3a473 (diff)
downloadspack-c1d111af74355dc911229e05982b60ae77b4d057.tar.gz
spack-c1d111af74355dc911229e05982b60ae77b4d057.tar.bz2
spack-c1d111af74355dc911229e05982b60ae77b4d057.tar.xz
spack-c1d111af74355dc911229e05982b60ae77b4d057.zip
Add package swiftclient (#15700)
* Add package swiftclient * Fix on url * Package name changed to py-python-swiftclient and changes on dependencies
-rw-r--r--var/spack/repos/builtin/packages/py-python-swiftclient/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-swiftclient/package.py b/var/spack/repos/builtin/packages/py-python-swiftclient/package.py
new file mode 100644
index 0000000000..bd8f766624
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-python-swiftclient/package.py
@@ -0,0 +1,29 @@
+# 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 PyPythonSwiftclient(PythonPackage):
+ """This is a python client for the Swift API."""
+
+ homepage = "https://docs.openstack.org/python-swiftclient"
+ url = "https://pypi.io/packages/source/p/python-swiftclient/python-swiftclient-3.9.0.tar.gz"
+
+ maintainers = ['ajkotobi']
+
+ import_modules = ['sys', 'setuptools', 'requests']
+
+ version('3.9.0', sha256='4f2097492e4c76e948882fc859bfa033ade09bed72f8e6b328e34a3467d9a377')
+ version('3.8.1', sha256='3a013303643f77a99befa05582dfb93671e1fba1aed9f4a517418129700aedb8')
+ version('3.8.0', sha256='107a9d5356663365a9f7c0b3a2b55da97a0a9ba7f10da2319b3972481510f33d')
+ version('3.7.1', sha256='06bda5a6f81ea132e5cb52d0eb0616a0ab0958b4ec0d1cb7f850f04bf178852f')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('py-futures@3:', type=('build', 'run'), when='^python@:2')
+ depends_on('py-requests@1.1.0:', type=('build', 'run'))
+ depends_on('py-six@1.9:', type=('build', 'run'))
+ depends_on('py-pbr', type='build')