diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-04-13 17:02:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 17:02:37 -0500 |
commit | 723fd5a1016e2f3922d1427b9363b9c03ce9de2a (patch) | |
tree | d7dbc244d9042dd8269c8e9afb81f45882a79cdc | |
parent | 92edc68922655c467e8fa9835a51ac42d43c153f (diff) | |
download | spack-723fd5a1016e2f3922d1427b9363b9c03ce9de2a.tar.gz spack-723fd5a1016e2f3922d1427b9363b9c03ce9de2a.tar.bz2 spack-723fd5a1016e2f3922d1427b9363b9c03ce9de2a.tar.xz spack-723fd5a1016e2f3922d1427b9363b9c03ce9de2a.zip |
Rust: add missing dependencies (#16015)
* Rust: add missing dependencies
* 1.43.X won't support Python 3 either
-rw-r--r-- | var/spack/repos/builtin/packages/rust/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/rust/package.py b/var/spack/repos/builtin/packages/rust/package.py index 59e827f67d..82ccc3fa52 100644 --- a/var/spack/repos/builtin/packages/rust/package.py +++ b/var/spack/repos/builtin/packages/rust/package.py @@ -18,6 +18,7 @@ class Rust(Package): homepage = "https://www.rust-lang.org" url = "https://static.rust-lang.org/dist/rustc-1.42.0-src.tar.gz" + git = "https://github.com/rust-lang/rust.git" maintainers = ["AndrewGaspar"] @@ -55,8 +56,11 @@ class Rust(Package): description='Install Rust source files' ) - depends_on('cmake', type='build') - depends_on('python@:2.8', type='build') + depends_on('python@2.7:', type='build') + depends_on('python@2.7:2.8', when='@:1.43', type='build') + depends_on('gmake@3.81:', type='build') + depends_on('cmake@3.4.3:', type='build') + depends_on('pkgconfig', type='build') depends_on('openssl') depends_on('libssh2') depends_on('libgit2') |