diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD index 2f9de1ee2..f5f78e6af 100644 --- a/extra/rust/PKGBUILD +++ b/extra/rust/PKGBUILD @@ -15,7 +15,7 @@ highmem=1 pkgname=('rust' 'rust-docs') epoch=1 -pkgver=1.34.0 +pkgver=1.34.1 pkgrel=1 pkgdesc='Systems programming language focused on safety, speed and concurrency' @@ -23,7 +23,7 @@ url='https://www.rust-lang.org/' arch=('x86_64') license=('MIT' 'Apache') -makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python' 'curl' 'cmake') checkdepends=('procps-ng' 'gdb') options=('!emptydirs') @@ -31,9 +31,9 @@ options=('!emptydirs') source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} config.toml) -sha256sums=('4c594c7712a0e7e8eae6526c464bf6ea1d82f77b4f61717c3fc28fb27ba2224a' +sha256sums=('b0c785264d17e1dac4598627c248a2d5e07dd39b6666d1881fcfc8e2cf4c40a7' 'SKIP' - '6a28c9768d0953d2774c7704d2bb293246c4733f2d4720e1ea441a0cd1763fb4') + '40025cab816c304a0c664f6ce8fa42c7eeda03fa6b7a4916b5cc22a83467a9fd') validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) prepare() { @@ -54,7 +54,7 @@ prepare() { build() { cd "rustc-$pkgver-src" - python2 ./x.py build $jobs + python ./x.py build $jobs } package_rust() { @@ -65,7 +65,7 @@ package_rust() { cd "rustc-$pkgver-src" - DESTDIR="$pkgdir" python2 ./x.py install + DESTDIR="$pkgdir" python ./x.py install for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done @@ -86,7 +86,6 @@ package_rust-docs() { install -d "$pkgdir/usr/share/doc/" mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ - msg2 "Packaging license files for the documentation" for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done } diff --git a/extra/rust/config.toml b/extra/rust/config.toml index c63d82841..5bb2d2648 100644 --- a/extra/rust/config.toml +++ b/extra/rust/config.toml @@ -4,7 +4,7 @@ link-shared = true [build] cargo = "/usr/bin/cargo" rustc = "/usr/bin/rustc" -python = "python2.7" +python = "python" extended = true sanitizers = false