diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-pytest-mock/package.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-mock/package.py b/var/spack/repos/builtin/packages/py-pytest-mock/package.py index 45a3ffb163..32c89a10ba 100644 --- a/var/spack/repos/builtin/packages/py-pytest-mock/package.py +++ b/var/spack/repos/builtin/packages/py-pytest-mock/package.py @@ -10,12 +10,15 @@ class PyPytestMock(PythonPackage): """Thin-wrapper around the mock package for easier use with py.test""" homepage = "https://github.com/pytest-dev/pytest-mock" - url = "https://pypi.io/packages/source/p/pytest-mock/pytest-mock-1.2.zip" + url = "https://pypi.io/packages/source/p/pytest-mock/pytest-mock-1.11.1.tar.gz" - version('1.2', sha256='f78971ed376fcb265255d1e4bb313731b3a1be92d7f3ecb19ea7fedc4a56fd0f') + version('1.11.1', sha256='f1ab8aefe795204efe7a015900296d1719e7bf0f4a0558d71e8599da1d1309d0') + version('1.2', sha256='f78971ed376fcb265255d1e4bb313731b3a1be92d7f3ecb19ea7fedc4a56fd0f', + url='https://pypi.io/packages/source/p/pytest-mock/pytest-mock-1.2.zip') extends('python', ignore=r'bin/*') - depends_on('py-setuptools', type='build') + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-setuptools-scm', type='build') depends_on('py-pytest@2.7:', type=('build', 'run')) - depends_on('py-mock', type=('build', 'run')) |