summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-virtualenv/package.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-virtualenv/package.py b/var/spack/repos/builtin/packages/py-virtualenv/package.py
index 0399b560d0..e8cfe52d8d 100644
--- a/var/spack/repos/builtin/packages/py-virtualenv/package.py
+++ b/var/spack/repos/builtin/packages/py-virtualenv/package.py
@@ -11,7 +11,9 @@ class PyVirtualenv(PythonPackage):
homepage = "https://virtualenv.pypa.io/"
pypi = "virtualenv/virtualenv-16.7.6.tar.gz"
+ git = "https://github.com/pypa/virtualenv.git"
+ version("20.17.1", sha256="f8b927684efc6f1cc206c9db297a570ab9ad0e51c16fa9e45487d36d1905c058")
version("20.16.4", sha256="014f766e4134d0008dcaa1f95bafa0fb0f575795d07cae50b1bee514185d6782")
version("20.10.0", sha256="576d05b46eace16a9c348085f7d0dc8ef28713a2cabaa1cf0aea41e8f12c9218")
version("16.7.6", sha256="5d370508bf32e522d79096e8cbea3499d47e624ac7e11e9089f9397a0b3318df")
@@ -33,17 +35,20 @@ class PyVirtualenv(PythonPackage):
depends_on("py-setuptools-scm@2:", when="@20.10.0:", type="build")
depends_on("py-setuptools-scm@6.4.2:", when="@20.16.4:", type="build")
- depends_on(
- "py-backports-entry-points-selectable @1.0.4:", type=("build", "run"), when="@20.10.0"
- )
depends_on("py-distlib@0.3.1:0", when="@20.10.0:", type=("build", "run"))
depends_on("py-distlib@0.3.5:0", when="@20.16.4:", type=("build", "run"))
+ depends_on("py-distlib@0.3.6:0", when="@20.16.6:", type=("build", "run"))
depends_on("py-filelock@3.2:3", when="@20.10.0:", type=("build", "run"))
depends_on("py-filelock@3.4.1:3", when="@20.16.4:", type=("build", "run"))
depends_on("py-platformdirs@2:2", when="@20.10.0:", type=("build", "run"))
depends_on("py-platformdirs@2.4:2", when="@20.16.4:", type=("build", "run"))
- depends_on("py-six@1.9.0:1", when="@20.10.0", type=("build", "run"))
depends_on("py-importlib-metadata@0.12:", when="@20.10.0: ^python@:3.7", type=("build", "run"))
depends_on(
"py-importlib-metadata@4.8.3:", when="@20.16.4: ^python@:3.7", type=("build", "run")
)
+
+ # dependencies of old versions
+ depends_on(
+ "py-backports-entry-points-selectable @1.0.4:", when="@20.10.0", type=("build", "run")
+ )
+ depends_on("py-six@1.9.0:1", when="@20.10.0", type=("build", "run"))