summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-11-24 23:38:03 +0100
committerGitHub <noreply@github.com>2021-11-24 15:38:03 -0700
commit0db93a5deaceb4a692c79d3496a042691f832070 (patch)
tree9527f3e0cbec1f3d9db6003f009d916b8fffb52a
parent270ba1096285032e33c62fa20236e7ae0bd3120c (diff)
downloadspack-0db93a5deaceb4a692c79d3496a042691f832070.tar.gz
spack-0db93a5deaceb4a692c79d3496a042691f832070.tar.bz2
spack-0db93a5deaceb4a692c79d3496a042691f832070.tar.xz
spack-0db93a5deaceb4a692c79d3496a042691f832070.zip
py-virtualenv package: add version 20.10.0; new dependency py-distlib (#27637)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-distlib/package.py15
-rw-r--r--var/spack/repos/builtin/packages/py-virtualenv/package.py13
2 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-distlib/package.py b/var/spack/repos/builtin/packages/py-distlib/package.py
new file mode 100644
index 0000000000..dc5ce6fd34
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-distlib/package.py
@@ -0,0 +1,15 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyDistlib(PythonPackage):
+ """Distribution utilities"""
+
+ homepage = "https://bitbucket.org/pypa/distlib"
+ pypi = "distlib/distlib-0.3.3.zip"
+
+ version('0.3.3', sha256='d982d0751ff6eaaab5e2ec8e691d949ee80eddf01a62eaa96ddb11531fe16b05')
diff --git a/var/spack/repos/builtin/packages/py-virtualenv/package.py b/var/spack/repos/builtin/packages/py-virtualenv/package.py
index 6098c804fe..82b500fb75 100644
--- a/var/spack/repos/builtin/packages/py-virtualenv/package.py
+++ b/var/spack/repos/builtin/packages/py-virtualenv/package.py
@@ -12,6 +12,7 @@ class PyVirtualenv(PythonPackage):
homepage = "https://virtualenv.pypa.io/"
pypi = "virtualenv/virtualenv-16.7.6.tar.gz"
+ version('20.10.0', sha256='576d05b46eace16a9c348085f7d0dc8ef28713a2cabaa1cf0aea41e8f12c9218')
version('16.7.6', sha256='5d370508bf32e522d79096e8cbea3499d47e624ac7e11e9089f9397a0b3318df')
version('16.4.1', sha256='5a3ecdfbde67a4a3b3111301c4d64a5b71cf862c8c42958d30cf3253df1f29dd')
version('16.0.0', sha256='ca07b4c0b54e14a91af9f34d0919790b016923d157afda5efdde55c96718f752')
@@ -21,6 +22,18 @@ class PyVirtualenv(PythonPackage):
version('1.11.6', sha256='3e7a4c151e2ee97f51db0215bfd2a073b04a91e9786df6cb67c916f16abe04f7')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@20.10.0:')
# not just build-time, requires pkg_resources
depends_on('py-setuptools@40.6.3:', type=('build', 'run'))
+ depends_on('py-setuptools@41.00.03:', type=('build', 'run'), when='@20.10.0:')
+ depends_on('py-setuptools-scm@2:', type=('build', 'run'), when='@20.10.0:')
+
+ 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', type=('build', 'run'), when='@20.10.0:')
+ depends_on('py-filelock@3.2:3', type=('build', 'run'), when='@20.10.0:')
+ depends_on('py-platformdirs@2:2', type=('build', 'run'), when='@20.10.0:')
+ depends_on('py-six@1.9.0:1', type=('build', 'run'), when='@20.10.0:')
+ depends_on('py-importlib-metadata@0.12:', type=('build', 'run'), when='@20.10.0: ^python@:3.7')
+ depends_on('py-importlib-resources@1:', type=('build', 'run'), when='@20.10.0: ^python@:3.6')
+ depends_on('py-pathlib2', type=('build', 'run'), when='@20.10.0: ^python@:3.3')