[arch-commits] Commit in rust/repos (5 files)
Date: Saturday, August 17, 2019 @ 18:13:47 Author: demize Revision: 359930 db-move: moved rust from [testing] to [extra] (x86_64) Added: rust/repos/extra-x86_64/PKGBUILD (from rev 359929, rust/repos/testing-x86_64/PKGBUILD) rust/repos/extra-x86_64/config.toml (from rev 359929, rust/repos/testing-x86_64/config.toml) Deleted: rust/repos/extra-x86_64/PKGBUILD rust/repos/extra-x86_64/config.toml rust/repos/testing-x86_64/ --+ /PKGBUILD| 76 + /config.toml | 26 +++ extra-x86_64/PKGBUILD| 76 - extra-x86_64/config.toml | 27 --- 4 files changed, 102 insertions(+), 103 deletions(-) Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2019-08-17 17:28:35 UTC (rev 359929) +++ extra-x86_64/PKGBUILD 2019-08-17 18:13:47 UTC (rev 359930) @@ -1,76 +0,0 @@ -# Maintainer: Johannes Löthberg -# Contributor: Alexander F Rødseth -# Contributor: Daniel Micay -# Contributor: userwithuid - -# Remember to bump lib32-rust as well! - -pkgname=('rust' 'rust-docs') -epoch=1 -pkgver=1.36.0 -pkgrel=1 - -pkgdesc='Systems programming language focused on safety, speed and concurrency' -url='https://www.rust-lang.org/' -arch=('x86_64') -license=('MIT' 'Apache') - -makedepends=('rust' 'llvm' 'libffi' 'perl' 'python' 'curl' 'cmake') -checkdepends=('procps-ng' 'gdb') - -options=('!emptydirs') - -source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} -config.toml) - -sha256sums=('04c4e4d7213d036d6aaed392841496d272146312c0290f728b7400fccd15bb1b' -'SKIP' -'fa531e162f2bb06f85171df1a91e339b4c2e276dd4b8cd7448c0675d343ae80b') -validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) - -prepare() { - cd "rustc-$pkgver-src" - - cp "$srcdir"/config.toml config.toml -} - -build() { - cd "rustc-$pkgver-src" - - python ./x.py build -j"$(nproc)" -} - -package_rust() { - depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') - provides=('cargo' 'rustfmt') - conflicts=('cargo' 'rustfmt') - replaces=('cargo' 'rustfmt') - - cd "rustc-$pkgver-src" - - DESTDIR="$pkgdir" python ./x.py install - - for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ -"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done - - cd "$pkgdir/usr/lib" - - rm rustlib/{components,manifest-rustc,rust-installer-version} - ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . - - # move docs out of the way for splitting - mv "$pkgdir"/usr/share/doc "$srcdir" - - install -d "$pkgdir"/usr/share/bash-completion - mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ -} - -package_rust-docs() { - install -d "$pkgdir/usr/share/doc/" - mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ - - for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ -"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done -} - -# vim:set ts=2 sw=2 et: Copied: rust/repos/extra-x86_64/PKGBUILD (from rev 359929, rust/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2019-08-17 18:13:47 UTC (rev 359930) @@ -0,0 +1,76 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.37.0 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('120e7020d065499cc6b28759ff04153bfdc2ac9b5adeb252331a4eb87cbe38c3' +'SKIP' +'24a5fbf558c7ffb39b3e712f26e0261a2e1f35d2caff17981e828c36bb5c746a') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + cd "$pkgdir/usr/lib" + +
[arch-commits] Commit in rust/repos (5 files)
Date: Wednesday, May 8, 2019 @ 21:16:39 Author: demize Revision: 352789 db-move: moved rust from [testing] to [extra] (x86_64) Added: rust/repos/extra-x86_64/PKGBUILD (from rev 352788, rust/repos/testing-x86_64/PKGBUILD) rust/repos/extra-x86_64/config.toml (from rev 352788, rust/repos/testing-x86_64/config.toml) Deleted: rust/repos/extra-x86_64/PKGBUILD rust/repos/extra-x86_64/config.toml rust/repos/testing-x86_64/ --+ /PKGBUILD| 77 + /config.toml | 27 +++ extra-x86_64/PKGBUILD| 77 - extra-x86_64/config.toml | 27 --- 4 files changed, 104 insertions(+), 104 deletions(-) Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2019-05-08 20:25:08 UTC (rev 352788) +++ extra-x86_64/PKGBUILD 2019-05-08 21:16:39 UTC (rev 352789) @@ -1,77 +0,0 @@ -# Maintainer: Johannes Löthberg -# Contributor: Alexander F Rødseth -# Contributor: Daniel Micay -# Contributor: userwithuid - -# Remember to bump lib32-rust as well! - -pkgname=('rust' 'rust-docs') -epoch=1 -pkgver=1.34.0 -pkgrel=1 - -pkgdesc='Systems programming language focused on safety, speed and concurrency' -url='https://www.rust-lang.org/' -arch=('x86_64') -license=('MIT' 'Apache') - -makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') -checkdepends=('procps-ng' 'gdb') - -options=('!emptydirs') - -source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} -config.toml) - -sha256sums=('7ac85acffd79dd3a7c44305d9eaabd1f1e7116e2e6e11e770e4bf5f92c0f1f59' -'SKIP' -'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') -validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) - -prepare() { - cd "rustc-$pkgver-src" - - cp "$srcdir"/config.toml config.toml -} - -build() { - cd "rustc-$pkgver-src" - - python2 ./x.py build -j"$(nproc)" -} - -package_rust() { - depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') - provides=('cargo' 'rustfmt') - conflicts=('cargo' 'rustfmt') - replaces=('cargo' 'rustfmt') - - cd "rustc-$pkgver-src" - - DESTDIR="$pkgdir" python2 ./x.py install - - for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ -"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done - - cd "$pkgdir/usr/lib" - - rm rustlib/{components,manifest-rustc,rust-installer-version} - ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . - - # move docs out of the way for splitting - mv "$pkgdir"/usr/share/doc "$srcdir" - - install -d "$pkgdir"/usr/share/bash-completion - mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ -} - -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 -} - -# vim:set ts=2 sw=2 et: Copied: rust/repos/extra-x86_64/PKGBUILD (from rev 352788, rust/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2019-05-08 21:16:39 UTC (rev 352789) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.34.1 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('b0c785264d17e1dac4598627c248a2d5e07dd39bd1881fcfc8e2cf4c40a7' +'SKIP' +'fa531e162f2bb06f85171df1a91e339b4c2e276dd4b8cd7448c0675d343ae80b') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +
[arch-commits] Commit in rust/repos (5 files)
Date: Sunday, April 21, 2019 @ 01:00:10 Author: demize Revision: 351845 db-move: moved rust from [testing] to [extra] (x86_64) Added: rust/repos/extra-x86_64/PKGBUILD (from rev 351844, rust/repos/testing-x86_64/PKGBUILD) rust/repos/extra-x86_64/config.toml (from rev 351844, rust/repos/testing-x86_64/config.toml) Deleted: rust/repos/extra-x86_64/PKGBUILD rust/repos/extra-x86_64/config.toml rust/repos/testing-x86_64/ --+ /PKGBUILD| 77 + /config.toml | 27 +++ extra-x86_64/PKGBUILD| 77 - extra-x86_64/config.toml | 27 --- 4 files changed, 104 insertions(+), 104 deletions(-) Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2019-04-21 00:59:23 UTC (rev 351844) +++ extra-x86_64/PKGBUILD 2019-04-21 01:00:10 UTC (rev 351845) @@ -1,77 +0,0 @@ -# Maintainer: Johannes Löthberg -# Contributor: Alexander F Rødseth -# Contributor: Daniel Micay -# Contributor: userwithuid - -# Remember to bump lib32-rust as well! - -pkgname=('rust' 'rust-docs') -epoch=1 -pkgver=1.34.0 -pkgrel=1 - -pkgdesc='Systems programming language focused on safety, speed and concurrency' -url='https://www.rust-lang.org/' -arch=('x86_64') -license=('MIT' 'Apache') - -makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') -checkdepends=('procps-ng' 'gdb') - -options=('!emptydirs') - -source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} -config.toml) - -sha256sums=('7ac85acffd79dd3a7c44305d9eaabd1f1e7116e2e6e11e770e4bf5f92c0f1f59' -'SKIP' -'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') -validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) - -prepare() { - cd "rustc-$pkgver-src" - - cp "$srcdir"/config.toml config.toml -} - -build() { - cd "rustc-$pkgver-src" - - python2 ./x.py build -j"$(nproc)" -} - -package_rust() { - depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') - provides=('cargo' 'rustfmt') - conflicts=('cargo' 'rustfmt') - replaces=('cargo' 'rustfmt') - - cd "rustc-$pkgver-src" - - DESTDIR="$pkgdir" python2 ./x.py install - - for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ -"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done - - cd "$pkgdir/usr/lib" - - rm rustlib/{components,manifest-rustc,rust-installer-version} - ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . - - # move docs out of the way for splitting - mv "$pkgdir"/usr/share/doc "$srcdir" - - install -d "$pkgdir"/usr/share/bash-completion - mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ -} - -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 -} - -# vim:set ts=2 sw=2 et: Copied: rust/repos/extra-x86_64/PKGBUILD (from rev 351844, rust/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2019-04-21 01:00:10 UTC (rev 351845) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.34.0 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('7ac85acffd79dd3a7c44305d9eaabd1f1e7116e2e6e11e770e4bf5f92c0f1f59' +'SKIP' +'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python2 ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python2 ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +
[arch-commits] Commit in rust/repos (5 files)
Date: Thursday, March 28, 2019 @ 13:08:02 Author: foutrelis Revision: 349350 archrelease: copy trunk to staging-x86_64 Added: rust/repos/staging-x86_64/ rust/repos/staging-x86_64/0001-Backport-deprecation-fixes-from-commit-b7f030e.patch (from rev 349349, rust/trunk/0001-Backport-deprecation-fixes-from-commit-b7f030e.patch) rust/repos/staging-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch (from rev 349349, rust/trunk/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch) rust/repos/staging-x86_64/PKGBUILD (from rev 349349, rust/trunk/PKGBUILD) rust/repos/staging-x86_64/config.toml (from rev 349349, rust/trunk/config.toml) -+ 0001-Backport-deprecation-fixes-from-commit-b7f030e.patch | 57 ++ 0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch | 30 +++ PKGBUILD| 83 ++ config.toml | 27 +++ 4 files changed, 197 insertions(+) Copied: rust/repos/staging-x86_64/0001-Backport-deprecation-fixes-from-commit-b7f030e.patch (from rev 349349, rust/trunk/0001-Backport-deprecation-fixes-from-commit-b7f030e.patch) === --- staging-x86_64/0001-Backport-deprecation-fixes-from-commit-b7f030e.patch (rev 0) +++ staging-x86_64/0001-Backport-deprecation-fixes-from-commit-b7f030e.patch 2019-03-28 13:08:02 UTC (rev 349350) @@ -0,0 +1,57 @@ +From 55030c7543d8e877ec7a6b577a51422c38f01259 Mon Sep 17 00:00:00 2001 +From: Josh Stone +Date: Fri, 1 Mar 2019 09:27:45 -0800 +Subject: [PATCH] Backport deprecation fixes from commit b7f030e + +--- + src/tools/linkchecker/main.rs | 6 +++--- + src/tools/tidy/src/features.rs | 2 +- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs +index 59662be349dc..2cf0fcfd34cd 100644 +--- a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs +@@ -78,7 +78,7 @@ impl FileEntry { + fn parse_ids( self, file: , contents: , errors: bool) { + if self.ids.is_empty() { + with_attrs_in_source(contents, " id", |fragment, i, _| { +-let frag = fragment.trim_left_matches("#").to_owned(); ++let frag = fragment.trim_start_matches("#").to_owned(); + let encoded = small_url_encode(); + if !self.ids.insert(frag) { + *errors = true; +@@ -343,7 +343,7 @@ fn with_attrs_in_source(contents: , attr: , + Some(i) => i, + None => continue, + }; +-if rest[..pos_equals].trim_left_matches(" ") != "" { ++if rest[..pos_equals].trim_start_matches(" ") != "" { + continue; + } + +@@ -355,7 +355,7 @@ fn with_attrs_in_source(contents: , attr: , + }; + let quote_delim = rest.as_bytes()[pos_quote] as char; + +-if rest[..pos_quote].trim_left_matches(" ") != "" { ++if rest[..pos_quote].trim_start_matches(" ") != "" { + continue; + } + let rest = [pos_quote + 1..]; +diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs +index 2435a0cfd4e3..bf2cfbf32fc7 100644 +--- a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs +@@ -188,7 +188,7 @@ pub fn collect_lang_features(base_src_path: , bad: bool) -> Features { + } + + let mut parts = line.split(','); +-let level = match parts.next().map(|l| l.trim().trim_left_matches('(')) { ++let level = match parts.next().map(|l| l.trim().trim_start_matches('(')) { + Some("active") => Status::Unstable, + Some("removed") => Status::Removed, + Some("accepted") => Status::Stable, +-- +2.20.1 + Copied: rust/repos/staging-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch (from rev 349349, rust/trunk/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch) === --- staging-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch (rev 0) +++ staging-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch 2019-03-28 13:08:02 UTC (rev 349350) @@ -0,0 +1,30 @@ +From c5f42fa1207dc6df476b55a9cdda439d8cfcba05 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= +Date: Thu, 14 Mar 2019 20:35:52 +0100 +Subject: [PATCH] Revert 1c95f5a34c14f08d65cdd198827e3a2fcb63cf39 + + 9452a8dfa3ba3575d5cf090a4e2305ee106d259e +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Johannes Löthberg +--- +
[arch-commits] Commit in rust/repos (5 files)
Date: Sunday, October 28, 2018 @ 13:50:50 Author: demize Revision: 399324 db-move: moved rust from [community-testing] to [community] (x86_64) Added: rust/repos/community-x86_64/PKGBUILD (from rev 399323, rust/repos/community-testing-x86_64/PKGBUILD) rust/repos/community-x86_64/config.toml (from rev 399323, rust/repos/community-testing-x86_64/config.toml) Deleted: rust/repos/community-testing-x86_64/ rust/repos/community-x86_64/PKGBUILD rust/repos/community-x86_64/config.toml --+ /PKGBUILD| 77 + /config.toml | 27 ++ community-x86_64/PKGBUILD| 77 - community-x86_64/config.toml | 27 -- 4 files changed, 104 insertions(+), 104 deletions(-) Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2018-10-28 12:59:11 UTC (rev 399323) +++ community-x86_64/PKGBUILD 2018-10-28 13:50:50 UTC (rev 399324) @@ -1,77 +0,0 @@ -# Maintainer: Johannes Löthberg -# Contributor: Alexander F Rødseth -# Contributor: Daniel Micay -# Contributor: userwithuid - -# Remember to bump lib32-rust as well! - -pkgname=('rust' 'rust-docs') -epoch=1 -pkgver=1.29.1 -pkgrel=1 - -pkgdesc='Systems programming language focused on safety, speed and concurrency' -url='https://www.rust-lang.org/' -arch=('x86_64') -license=('MIT' 'Apache') - -makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') -checkdepends=('procps-ng' 'gdb') - -options=('!emptydirs') - -source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} -config.toml) - -sha256sums=('f1b0728b66ce6bce6d72bbe5ea9e3a24ea22a045665da2ed8fcdfad14f61a349' -'SKIP' -'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') -validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) - -prepare() { - cd "rustc-$pkgver-src" - - cp "$srcdir"/config.toml config.toml -} - -build() { - cd "rustc-$pkgver-src" - - python2 ./x.py build -j"$(nproc)" -} - -package_rust() { - depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') - provides=('cargo' 'rustfmt') - conflicts=('cargo' 'rustfmt') - replaces=('cargo' 'rustfmt') - - cd "rustc-$pkgver-src" - - DESTDIR="$pkgdir" python2 ./x.py install - - for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ -"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done - - cd "$pkgdir/usr/lib" - - rm rustlib/{components,manifest-rustc,rust-installer-version} - ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . - - # move docs out of the way for splitting - mv "$pkgdir"/usr/share/doc "$srcdir" - - install -d "$pkgdir"/usr/share/bash-completion - mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ -} - -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 -} - -# vim:set ts=2 sw=2 et: Copied: rust/repos/community-x86_64/PKGBUILD (from rev 399323, rust/repos/community-testing-x86_64/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-10-28 13:50:50 UTC (rev 399324) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.30.0 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('cd0ba83fcca55b64c0c9f23130fe731dfc1882b73ae21bef96be8f2362c108ee' +'SKIP' +'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python2 ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python2 ./x.py install + + for license
[arch-commits] Commit in rust/repos (5 files)
Date: Saturday, October 20, 2018 @ 20:59:48 Author: demize Revision: 398135 db-move: moved rust from [community-testing] to [community] (x86_64) Added: rust/repos/community-x86_64/PKGBUILD (from rev 398134, rust/repos/community-testing-x86_64/PKGBUILD) rust/repos/community-x86_64/config.toml (from rev 398134, rust/repos/community-testing-x86_64/config.toml) Deleted: rust/repos/community-testing-x86_64/ rust/repos/community-x86_64/PKGBUILD rust/repos/community-x86_64/config.toml --+ /PKGBUILD| 77 ++ /config.toml | 27 + community-x86_64/PKGBUILD| 82 - community-x86_64/config.toml | 27 - 4 files changed, 104 insertions(+), 109 deletions(-) Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2018-10-20 20:57:48 UTC (rev 398134) +++ community-x86_64/PKGBUILD 2018-10-20 20:59:48 UTC (rev 398135) @@ -1,82 +0,0 @@ -# Maintainer: Johannes Löthberg -# Contributor: Alexander F Rødseth -# Contributor: Daniel Micay -# Contributor: userwithuid - -# Remember to bump lib32-rust as well! - -pkgname=('rust' 'rust-docs') -epoch=1 -pkgver=1.29.0 -pkgrel=2 - -pkgdesc='Systems programming language focused on safety, speed and concurrency' -url='https://www.rust-lang.org/' -arch=('x86_64') -license=('MIT' 'Apache') - -makedepends=('rust' 'libffi' 'perl' 'python2' 'curl' 'cmake' 'ninja') - -options=('!emptydirs') - -source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} -config.toml - https://github.com/rust-lang/rust/commit/1b94b84ad0143ea2039610e3aec9e929a8a20733.patch) - -sha256sums=('a4eb34ffd47f76afe2abd813f398512d5a19ef00989d37306217c9c9ec2f61e9' -'SKIP' -'ff4890bd733509b0dbb885d69afd578c41fc583af256dcc81e9239339c60b144' -'8c8e79b0bac0dd1434c49f665abfa50634ffb0fbb35c9efee511e5b97960b9e2') -validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) - -prepare() { - cd "rustc-$pkgver-src" - - patch -p1 <"$srcdir"/1b94b84ad0143ea2039610e3aec9e929a8a20733.patch - cp "$srcdir"/config.toml config.toml -} - -build() { - cd "rustc-$pkgver-src" - - msg2 "Run build under x.py" - python2 ./x.py build -} - -package_rust() { - depends=('gcc-libs' 'curl' 'libssh2') - provides=('cargo' 'rustfmt') - conflicts=('cargo' 'rustfmt') - replaces=('cargo' 'rustfmt') - - - cd "rustc-$pkgver-src" - - DESTDIR="$pkgdir" python2 ./x.py install - - for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ -"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done - - cd "$pkgdir/usr/lib" - - rm rustlib/{components,manifest-rustc,rust-installer-version} - ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . - - # move docs out of the way - mv "$pkgdir/usr/share/doc" "$srcdir/" - - install -d "$pkgdir"/usr/share/bash-completion - mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ -} - -package_rust-docs() { - msg2 "Packaging documentation" - 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 -} - -# vim:set ts=2 sw=2 et: Copied: rust/repos/community-x86_64/PKGBUILD (from rev 398134, rust/repos/community-testing-x86_64/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-10-20 20:59:48 UTC (rev 398135) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.29.1 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('f1b0728b66ce6bce6d72bbe5ea9e3a24ea22a045665da2ed8fcdfad14f61a349' +'SKIP' +'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python2 ./x.py build -j"$(nproc)" +} + +package_rust() {