summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-20 11:16:07 -0500
committerGitHub <noreply@github.com>2019-10-20 11:16:07 -0500
commitc130a2980f5b618da8ba9aa2c30b6caac5900e15 (patch)
tree9186e1c3f98021f9e15290b7d275ff27d4ab79be /var
parent0d189e779a902cc66ce8524fb800142e6168c00f (diff)
downloadspack-c130a2980f5b618da8ba9aa2c30b6caac5900e15.tar.gz
spack-c130a2980f5b618da8ba9aa2c30b6caac5900e15.tar.bz2
spack-c130a2980f5b618da8ba9aa2c30b6caac5900e15.tar.xz
spack-c130a2980f5b618da8ba9aa2c30b6caac5900e15.zip
Add latest version of py-mock (#13308)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-mock/package.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/py-mock/package.py b/var/spack/repos/builtin/packages/py-mock/package.py
index 516f1aff2d..90fecff01e 100644
--- a/var/spack/repos/builtin/packages/py-mock/package.py
+++ b/var/spack/repos/builtin/packages/py-mock/package.py
@@ -12,14 +12,16 @@ class PyMock(PythonPackage):
they have been used."""
homepage = "https://github.com/testing-cabal/mock"
- url = "https://pypi.io/packages/source/m/mock/mock-1.3.0.tar.gz"
+ url = "https://pypi.io/packages/source/m/mock/mock-3.0.5.tar.gz"
+ version('3.0.5', sha256='83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3')
version('2.0.0', sha256='b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba')
version('1.3.0', sha256='1e247dbecc6ce057299eb7ee019ad68314bb93152e81d9a6110d35f4d5eca0f6')
- depends_on('py-pbr@0.11:', type=('build', 'run'))
- depends_on('py-six@1.7:', type=('build', 'run'))
- depends_on('py-six@1.9:', type=('build', 'run'), when='@2.0.0:')
- # requirements.txt references @1:, but 0.4 is newest available..
- depends_on('py-funcsigs', type=('build', 'run'), when='^python@:3.2.99')
- depends_on('py-setuptools@17.1:', type='build')
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six@1.7:', type=('build', 'run'))
+ depends_on('py-six@1.9:', type=('build', 'run'), when='@2.0.0:')
+ depends_on('py-funcsigs@1:', type=('build', 'run'), when='^python@:3.2')
+ depends_on('py-pytest', type='test')
+ depends_on('py-pytest-cov', type='test')