summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Koning <koning@users.noreply.github.com>2020-10-12 12:05:09 -0700
committerGitHub <noreply@github.com>2020-10-12 14:05:09 -0500
commit7a8974c2d87733e46bbe8e66911f9cefb37074b7 (patch)
tree101c37928e5cc99eac91974fbfb7f97664718302
parent7b0e6280169a0a6e8c3b1fd0ffcc53ce52c92d2b (diff)
downloadspack-7a8974c2d87733e46bbe8e66911f9cefb37074b7.tar.gz
spack-7a8974c2d87733e46bbe8e66911f9cefb37074b7.tar.bz2
spack-7a8974c2d87733e46bbe8e66911f9cefb37074b7.tar.xz
spack-7a8974c2d87733e46bbe8e66911f9cefb37074b7.zip
Update py-redis (#19063)
* Update of py-redis for merlin-1.7.5 * Add hiredis variant and python versions for 3.5.x versions. * Update var/spack/repos/builtin/packages/py-redis/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-redis/package.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-redis/package.py b/var/spack/repos/builtin/packages/py-redis/package.py
index ddb18770b6..970f97f12e 100644
--- a/var/spack/repos/builtin/packages/py-redis/package.py
+++ b/var/spack/repos/builtin/packages/py-redis/package.py
@@ -12,9 +12,13 @@ class PyRedis(PythonPackage):
homepage = "https://pypi.org/project/redis/"
url = "https://pypi.io/packages/source/r/redis/redis-3.3.8.tar.gz"
+ version('3.5.3', sha256='0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2')
version('3.5.0', sha256='7378105cd8ea20c4edc49f028581e830c01ad5f00be851def0f4bc616a83cd89')
version('3.3.8', sha256='98a22fb750c9b9bb46e75e945dc3f61d0ab30d06117cbb21ff9cd1d315fedd3b')
- depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
- depends_on('py-setuptools', type='build')
- depends_on('py-hiredis', type=('build', 'run'))
+ variant("hiredis", default=False, description="Support for hiredis which speeds up parsing of multi bulk replies")
+
+ depends_on('python@2.7:2.8,3.4:', when="@3.3.0:3.3.99", type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.5:', when="@3.4.0:", type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-hiredis@0.1.3:', when="+hiredis", type=('build', 'run'))