summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bouvier <contact@thomas-bouvier.io>2023-01-23 16:33:11 +0100
committerGitHub <noreply@github.com>2023-01-23 09:33:11 -0600
commit3bd0d9a3d26517dea2f23bca57f79f192b1eb01e (patch)
tree93c784da0a57bc8da711937c1e2c06db2729cf9c
parentfbc24d7bab80a2f761f2c63e80b572bbe19273f6 (diff)
downloadspack-3bd0d9a3d26517dea2f23bca57f79f192b1eb01e.tar.gz
spack-3bd0d9a3d26517dea2f23bca57f79f192b1eb01e.tar.bz2
spack-3bd0d9a3d26517dea2f23bca57f79f192b1eb01e.tar.xz
spack-3bd0d9a3d26517dea2f23bca57f79f192b1eb01e.zip
`py-pytest-mock`: add v3.10.0 (#35074)
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-mock/package.py8
1 files changed, 7 insertions, 1 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 f640e0e11f..b8b5c5baa3 100644
--- a/var/spack/repos/builtin/packages/py-pytest-mock/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-mock/package.py
@@ -12,6 +12,9 @@ class PyPytestMock(PythonPackage):
homepage = "https://github.com/pytest-dev/pytest-mock"
pypi = "pytest-mock/pytest-mock-1.11.1.tar.gz"
+ maintainers = ["thomas-bouvier"]
+
+ version("3.10.0", sha256="fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f")
version("1.11.1", sha256="f1ab8aefe795204efe7a015900296d1719e7bf0f4a0558d71e8599da1d1309d0")
version(
"1.2",
@@ -21,7 +24,10 @@ class PyPytestMock(PythonPackage):
extends("python", ignore=r"bin/*")
- depends_on("python@2.7:2.8,3.4:", type=("build", "run"))
+ depends_on("python@2.7:2.8,3.4:", type=("build", "run"), when="@:1.11.1")
+ depends_on("python@3.7:", type=("build", "run"), when="@3.10.0:")
+
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-pytest@5:", type=("build", "run"), when="@3.10.0:")