diff options
author | bernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com> | 2021-09-29 17:39:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 15:39:57 +0000 |
commit | 4a31f0fb0ff783757ebf795da2cb42552ac492dd (patch) | |
tree | 63d9deaf2573d9b2c7ede492e078bb63e5c19b1b /var | |
parent | 5132cfcc63b640bbd40711564a03a8ee5ef5e8b9 (diff) | |
download | spack-4a31f0fb0ff783757ebf795da2cb42552ac492dd.tar.gz spack-4a31f0fb0ff783757ebf795da2cb42552ac492dd.tar.bz2 spack-4a31f0fb0ff783757ebf795da2cb42552ac492dd.tar.xz spack-4a31f0fb0ff783757ebf795da2cb42552ac492dd.zip |
py-mock: fix depends of `@:2.0.0` and bump version (#26336)
* py-mock: fix depends of `@:2.0.0` and bump version
fixes the build of `py-gsutil`, it depends on `'py-mock@:2.0.0'`.
* Update var/spack/repos/builtin/packages/py-mock/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-mock/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Apply the other requested changes
* Add requested change: Add the python@3.6 for newer versions
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-mock/package.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-mock/package.py b/var/spack/repos/builtin/packages/py-mock/package.py index e5a97fc89e..460ff7fdb4 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" - pypi = "mock/mock-3.0.5.tar.gz" + pypi = "mock/mock-4.0.3.tar.gz" + version('4.0.3', sha256='7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc') version('3.0.5', sha256='83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3') version('2.0.0', sha256='b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba') version('1.3.0', sha256='1e247dbecc6ce057299eb7ee019ad68314bb93152e81d9a6110d35f4d5eca0f6') - 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('python@3.6:', type=('build', 'run'), when='@3') + depends_on('python@2.7:2.8,3.4:', type=('build', 'run'), when='@:2') + depends_on('py-setuptools@17.1:', type='build') + depends_on('py-pbr@1.3:', type=('build'), when='@:2') + depends_on('py-six@1.9:', type=('build', 'run'), when='@:2') depends_on('py-funcsigs@1:', type=('build', 'run'), when='^python@:3.2') |