diff options
author | Sinan81 <Sinan81@github> | 2019-08-18 00:57:25 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-08-21 17:50:17 -0700 |
commit | 63f50541407a799a5874ca00e8e3d4db86a597ec (patch) | |
tree | 66a47051cb083bb0e77c524e77233d9baa7df341 | |
parent | 7303b6cdc938aedf420579848cdf26986b6fa1fa (diff) | |
download | spack-63f50541407a799a5874ca00e8e3d4db86a597ec.tar.gz spack-63f50541407a799a5874ca00e8e3d4db86a597ec.tar.bz2 spack-63f50541407a799a5874ca00e8e3d4db86a597ec.tar.xz spack-63f50541407a799a5874ca00e8e3d4db86a597ec.zip |
new package: py-grequests
-rw-r--r-- | var/spack/repos/builtin/packages/py-grequests/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-grequests/package.py b/var/spack/repos/builtin/packages/py-grequests/package.py new file mode 100644 index 0000000000..2bd721c64a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-grequests/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 PyGrequests(PythonPackage): + """GRequests allows you to use Requests with Gevent to make asynchronous + HTTP Requests easily. + + Note: You should probably use requests-threads or requests-futures instead. + """ + + homepage = "https://github.com/spyoungtech/grequests" + url = "https://pypi.io/packages/source/g/grequests/grequests-0.4.0.tar.gz" + + version('0.4.0', sha256='8aeccc15e60ec65c7e67ee32e9c596ab2196979815497f85cf863465a1626490') + version('0.3.0', sha256='0f41c4eee83bab39f5543af49665c08681637a0562a5704a3f7b2e4a996531c9') + + depends_on('py-setuptools', type='build') + depends_on('py-gevent', type=('build', 'run')) + depends_on('py-requests', type=('build', 'run')) + depends_on('py-nose', type='test') |