Rust: add missing dependencies (#16015)

* Rust: add missing dependencies

* 1.43.X won't support Python 3 either
This commit is contained in:
Adam J. Stewart 2020-04-13 17:02:37 -05:00 committed by GitHub
parent 92edc68922
commit 723fd5a101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')