summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-03 16:36:42 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-03 18:36:42 -0500
commitcc54d910a64ca564f633672ebe037f1df91cd67d (patch)
tree0ae5456b2c413d87b1f15097121de21e9be7eae3 /var
parent9432b1f7895635e1d2608993dd134ed9e8e77cd6 (diff)
downloadspack-cc54d910a64ca564f633672ebe037f1df91cd67d.tar.gz
spack-cc54d910a64ca564f633672ebe037f1df91cd67d.tar.bz2
spack-cc54d910a64ca564f633672ebe037f1df91cd67d.tar.xz
spack-cc54d910a64ca564f633672ebe037f1df91cd67d.zip
new package: py-requests-futures (#12264)
* new package: py-requests-futures * Update var/spack/repos/builtin/packages/py-requests-futures/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-requests-futures/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-requests-futures/package.py b/var/spack/repos/builtin/packages/py-requests-futures/package.py
new file mode 100644
index 0000000000..e75fdf4d52
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-requests-futures/package.py
@@ -0,0 +1,19 @@
+# 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 PyRequestsFutures(PythonPackage):
+ """Asynchronous Python HTTP Requests for Humans using Futures"""
+
+ homepage = "https://github.com/ross/requests-futures"
+ url = "https://pypi.org/packages/source/r/requests-futures/requests-futures-1.0.0.tar.gz"
+
+ version('1.0.0', sha256='35547502bf1958044716a03a2f47092a89efe8f9789ab0c4c528d9c9c30bc148')
+
+ depends_on('py-setuptools@38.6.1:', type='build')
+ depends_on('py-futures@2.1.3:', type=('build', 'run'), when='^python@:3.1')
+ depends_on('py-requests@1.2.0:', type=('build', 'run'))