summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-denpo <57649496+h-denpo@users.noreply.github.com>2021-03-02 14:09:31 +0900
committerGitHub <noreply@github.com>2021-03-01 23:09:31 -0600
commit9575531f2a981fd3431fb25e944ef4ce98f2981a (patch)
tree0d3e4d1baf0945cef73918f1ea5ef3d170696abd
parent83ca1b153f9e8a2057c464d96181059391f6acba (diff)
downloadspack-9575531f2a981fd3431fb25e944ef4ce98f2981a.tar.gz
spack-9575531f2a981fd3431fb25e944ef4ce98f2981a.tar.bz2
spack-9575531f2a981fd3431fb25e944ef4ce98f2981a.tar.xz
spack-9575531f2a981fd3431fb25e944ef4ce98f2981a.zip
py-importlib: Python 2.7 is needed to build. (#22034)
* py-importlib: Python 2.7 is needed to build. added depends_on('python@2.7.0:2.7.99') * Update var/spack/repos/builtin/packages/py-importlib/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-importlib/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-importlib/package.py b/var/spack/repos/builtin/packages/py-importlib/package.py
index 5883bd20b2..e56a2ee537 100644
--- a/var/spack/repos/builtin/packages/py-importlib/package.py
+++ b/var/spack/repos/builtin/packages/py-importlib/package.py
@@ -13,3 +13,5 @@ class PyImportlib(PythonPackage):
pypi = "importlib/importlib-1.0.4.zip"
version('1.0.4', sha256='b6ee7066fea66e35f8d0acee24d98006de1a0a8a94a8ce6efe73a9a23c8d9826')
+
+ depends_on('python@:2.6.999,3.0.0:3.0.999', type=('build', 'run'))