[arch-commits] Commit in rust/repos (6 files)

2019-03-17 Thread Johannes Löthberg via arch-commits
Date: Sunday, March 17, 2019 @ 13:22:10
  Author: demize
Revision: 348569

db-move: moved rust from [testing] to [extra] (x86_64)

Added:
  
rust/repos/extra-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch
(from rev 348568, 
rust/repos/testing-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch)
  rust/repos/extra-x86_64/PKGBUILD
(from rev 348568, rust/repos/testing-x86_64/PKGBUILD)
  rust/repos/extra-x86_64/config.toml
(from rev 348568, 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| 
  80 ++
 /config.toml | 
  27 +++
 extra-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch | 
  30 +++
 extra-x86_64/PKGBUILD| 
  77 -
 extra-x86_64/config.toml | 
  27 ---
 5 files changed, 137 insertions(+), 104 deletions(-)

Copied: 
rust/repos/extra-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch
 (from rev 348568, 
rust/repos/testing-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch)
===
--- 
extra-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch
(rev 0)
+++ 
extra-x86_64/0001-Revert-1c95f5a34c14f08d65cdd198827e3a2fcb63cf39-9452.patch
2019-03-17 13:22:10 UTC (rev 348569)
@@ -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 
+---
+ src/librustc_codegen_llvm/debuginfo/metadata.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/librustc_codegen_llvm/debuginfo/metadata.rs 
b/src/librustc_codegen_llvm/debuginfo/metadata.rs
+index 9f63038c36..553b952b56 100644
+--- a/src/librustc_codegen_llvm/debuginfo/metadata.rs
 b/src/librustc_codegen_llvm/debuginfo/metadata.rs
+@@ -1167,7 +1167,7 @@ fn use_enum_fallback(cx: ) -> bool {
+ // LLVM version 7 did not release with an important bug fix;
+ // but the required patch is in the LLVM 8.  Rust LLVM reports
+ // 8 as well.
+-|| llvm_util::get_major_version() < 8;
++|| llvm_util::get_major_version() < 7;
+ }
+ 
+ // Describes the members of an enum value: An enum is described as a union of
+-- 
+2.20.1
+

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2019-03-17 13:15:56 UTC (rev 348568)
+++ extra-x86_64/PKGBUILD   2019-03-17 13:22:10 UTC (rev 348569)
@@ -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.32.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' '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=('4c594c7712a0e7e8eae6526c464bf6ea1d82f77b4f61717c3fc28fb27ba2224a'
-'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
- 

[arch-commits] Commit in rust/repos (6 files)

2017-06-27 Thread Johannes Löthberg
Date: Tuesday, June 27, 2017 @ 17:56:35
  Author: demize
Revision: 241276

db-move: moved rust from [community-testing] to [community] (i686, x86_64)

Added:
  rust/repos/community-i686/PKGBUILD
(from rev 241275, rust/repos/community-testing-i686/PKGBUILD)
  rust/repos/community-x86_64/PKGBUILD
(from rev 241275, rust/repos/community-testing-x86_64/PKGBUILD)
Deleted:
  rust/repos/community-i686/PKGBUILD
  rust/repos/community-testing-i686/
  rust/repos/community-testing-x86_64/
  rust/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |  150 
 community-i686/PKGBUILD   |   74 -
 community-x86_64/PKGBUILD |   74 -
 3 files changed, 150 insertions(+), 148 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-06-27 17:55:52 UTC (rev 241275)
+++ community-i686/PKGBUILD 2017-06-27 17:56:35 UTC (rev 241276)
@@ -1,74 +0,0 @@
-# $Id$
-# Maintainer: Johannes Löthberg 
-# Contributor: Alexander F Rødseth 
-# Contributor: Daniel Micay 
-# Contributor: userwithuid 
-
-pkgname=('rust' 'rust-docs')
-epoch=1
-pkgver=1.17.0
-pkgrel=1
-
-pkgdesc='Systems programming language focused on safety, speed and concurrency'
-url='https://www.rust-lang.org/'
-arch=('x86_64' 'i686')
-license=('MIT' 'Apache')
-
-makedepends=('rust' 'cargo' 'libffi' 'perl' 'python2' 'curl' 'llvm' 'jemalloc')
-
-options=('!emptydirs')
-
-source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
-
-sha256sums=('4baba3895b75f2492df6ce5a28a916307ecd1c088dc1fd02dbfa8a8e86174f87'
-'SKIP')
-validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
-
-build() {
-  cd "rustc-$pkgver-src"
-
-  ./configure \
---prefix=/usr \
---release-channel=stable \
---llvm-root=/usr \
---enable-llvm-link-shared \
---disable-codegen-tests \
---jemalloc-root=/usr/lib \
---enable-local-rust
-
-  export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
-
-  python2 ./x.py build --verbose
-}
-
-package_rust() {
-  depends=('gcc-libs' 'llvm-libs')
-  optdepends=('cargo')
-
-  cd "rustc-$pkgver-src"
-
-  make DESTDIR="$pkgdir" 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/"
-}
-
-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-i686/PKGBUILD (from rev 241275, 
rust/repos/community-testing-i686/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-06-27 17:56:35 UTC (rev 241276)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Johannes Löthberg 
+# Contributor: Alexander F Rødseth 
+# Contributor: Daniel Micay 
+# Contributor: userwithuid 
+
+pkgname=('rust' 'rust-docs')
+epoch=1
+pkgver=1.18.0
+pkgrel=1
+
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='https://www.rust-lang.org/'
+arch=('x86_64' 'i686')
+license=('MIT' 'Apache')
+
+makedepends=('rust' 'cargo' 'libffi' 'perl' 'python2' 'curl' 'llvm' 'jemalloc')
+
+options=('!emptydirs')
+
+source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
+
+sha256sums=('d2dc36e99b9e2269488b2bcddde43c234e6bde03edf70cba82a027ff49c36111'
+'SKIP')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
+
+build() {
+  cd "rustc-$pkgver-src"
+
+  ./configure \
+--prefix=/usr \
+--release-channel=stable \
+--llvm-root=/usr \
+--enable-llvm-link-shared \
+--disable-codegen-tests \
+--jemalloc-root=/usr/lib \
+--enable-local-rust
+
+  export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
+
+  msg2 "Run build under x.py"
+  python2 ./x.py build
+}
+
+package_rust() {
+  depends=('gcc-libs' 'llvm-libs')
+  optdepends=('cargo')
+
+  cd "rustc-$pkgver-src"
+
+  make DESTDIR="$pkgdir" install
+
+  for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \
+

[arch-commits] Commit in rust/repos (6 files)

2017-04-27 Thread Johannes Löthberg
Date: Thursday, April 27, 2017 @ 22:35:14
  Author: demize
Revision: 226130

archrelease: copy trunk to community-x86_64, community-i686

Added:
  rust/repos/community-i686/PKGBUILD
(from rev 226129, rust/trunk/PKGBUILD)
  rust/repos/community-x86_64/PKGBUILD
(from rev 226129, rust/trunk/PKGBUILD)
Deleted:
  
rust/repos/community-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
  rust/repos/community-i686/PKGBUILD
  
rust/repos/community-x86_64/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
  rust/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD 
|  148 ++
 community-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch   
|   41 --
 community-i686/PKGBUILD   
|   80 -
 community-x86_64/0001-liballoc_jemalloc-fix-linking-with-system-library.patch 
|   41 --
 community-x86_64/PKGBUILD 
|   80 -
 5 files changed, 148 insertions(+), 242 deletions(-)

Deleted: 
community-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
===
--- community-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch 
2017-04-27 22:28:43 UTC (rev 226129)
+++ community-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch 
2017-04-27 22:35:14 UTC (rev 226130)
@@ -1,41 +0,0 @@
-From 781561a6f26008a49572e156f80b577d6af60262 Mon Sep 17 00:00:00 2001
-From: Tatsuyuki Ishi 
-Date: Fri, 3 Feb 2017 16:15:34 +0900
-Subject: [PATCH] liballoc_jemalloc: fix linking with system library
-

- src/liballoc_jemalloc/build.rs | 11 ++-
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs
-index 1143df0c63..297f5ce99f 100644
 a/src/liballoc_jemalloc/build.rs
-+++ b/src/liballoc_jemalloc/build.rs
-@@ -42,6 +42,12 @@ fn main() {
- return;
- }
- 
-+if target.contains("android") {
-+println!("cargo:rustc-link-lib=gcc");
-+} else if !target.contains("windows") && !target.contains("musl") {
-+println!("cargo:rustc-link-lib=pthread");
-+}
-+
- if let Some(jemalloc) = env::var_os("JEMALLOC_OVERRIDE") {
- let jemalloc = PathBuf::from(jemalloc);
- println!("cargo:rustc-link-search=native={}",
-@@ -176,11 +182,6 @@ fn main() {
- println!("cargo:rustc-link-lib=static=jemalloc_pic");
- }
- println!("cargo:rustc-link-search=native={}/lib", build_dir.display());
--if target.contains("android") {
--println!("cargo:rustc-link-lib=gcc");
--} else if !target.contains("windows") && !target.contains("musl") {
--println!("cargo:rustc-link-lib=pthread");
--}
- 
- // The pthread_atfork symbols is used by jemalloc on android but the 
really
- // old android we're building on doesn't have them defined, so just make
--- 
-2.12.0
-

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-04-27 22:28:43 UTC (rev 226129)
+++ community-i686/PKGBUILD 2017-04-27 22:35:14 UTC (rev 226130)
@@ -1,80 +0,0 @@
-# $Id$
-# Maintainer: Johannes Löthberg 
-# Contributor: Alexander F Rødseth 
-# Contributor: Daniel Micay 
-# Contributor: userwithuid 
-
-pkgname=('rust' 'rust-docs')
-epoch=1
-pkgver=1.16.0
-pkgrel=1
-
-pkgdesc='Systems programming language focused on safety, speed and concurrency'
-url='https://www.rust-lang.org/'
-arch=('x86_64' 'i686')
-license=('MIT' 'Apache')
-
-makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm' 'jemalloc')
-
-options=('!emptydirs')
-
-source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
-0001-liballoc_jemalloc-fix-linking-with-system-library.patch)
-
-sha256sums=('f966b31eb1cd9bd2df817c391a338eeb5b9253ae0a19bf8a11960c560f96e8b4'
-'SKIP'
-'b61d9aae58925b222cd44d7b41f0aa648fde89a48e7772aa659acd0d74dde612')
-validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
-
-prepare() {
-  cd "rustc-$pkgver-src"
-
-  # Backport of https://github.com/rust-lang/rust/pull/39481
-  patch -p1 
<"$srcdir"/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
-}
-
-build() {
-  cd "rustc-$pkgver-src"
-
-  ./configure \
---prefix=/usr \
---release-channel=stable \
---llvm-root=/usr \
---disable-codegen-tests \
---jemalloc-root=/usr/lib
-
-  export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
-
-  python2 ./x.py build --verbose
-}
-
-package_rust() {
-  depends=('gcc-libs' 'llvm-libs')
-
-  cd "rustc-$pkgver-src"
-

[arch-commits] Commit in rust/repos (6 files)

2017-03-20 Thread Johannes Löthberg
Date: Monday, March 20, 2017 @ 20:44:31
  Author: demize
Revision: 217790

archrelease: copy trunk to community-testing-x86_64, community-testing-i686

Added:
  rust/repos/community-testing-i686/
  
rust/repos/community-testing-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
(from rev 217789, 
rust/trunk/0001-liballoc_jemalloc-fix-linking-with-system-library.patch)
  rust/repos/community-testing-i686/PKGBUILD
(from rev 217789, rust/trunk/PKGBUILD)
  rust/repos/community-testing-x86_64/
  
rust/repos/community-testing-x86_64/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
(from rev 217789, 
rust/trunk/0001-liballoc_jemalloc-fix-linking-with-system-library.patch)
  rust/repos/community-testing-x86_64/PKGBUILD
(from rev 217789, rust/trunk/PKGBUILD)

---+
 
community-testing-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
   |   41 +
 community-testing-i686/PKGBUILD
   |   80 ++
 
community-testing-x86_64/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
 |   41 +
 community-testing-x86_64/PKGBUILD  
   |   80 ++
 4 files changed, 242 insertions(+)

Copied: 
rust/repos/community-testing-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
 (from rev 217789, 
rust/trunk/0001-liballoc_jemalloc-fix-linking-with-system-library.patch)
===
--- 
community-testing-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
 (rev 0)
+++ 
community-testing-i686/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
 2017-03-20 20:44:31 UTC (rev 217790)
@@ -0,0 +1,41 @@
+From 781561a6f26008a49572e156f80b577d6af60262 Mon Sep 17 00:00:00 2001
+From: Tatsuyuki Ishi 
+Date: Fri, 3 Feb 2017 16:15:34 +0900
+Subject: [PATCH] liballoc_jemalloc: fix linking with system library
+
+---
+ src/liballoc_jemalloc/build.rs | 11 ++-
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs
+index 1143df0c63..297f5ce99f 100644
+--- a/src/liballoc_jemalloc/build.rs
 b/src/liballoc_jemalloc/build.rs
+@@ -42,6 +42,12 @@ fn main() {
+ return;
+ }
+ 
++if target.contains("android") {
++println!("cargo:rustc-link-lib=gcc");
++} else if !target.contains("windows") && !target.contains("musl") {
++println!("cargo:rustc-link-lib=pthread");
++}
++
+ if let Some(jemalloc) = env::var_os("JEMALLOC_OVERRIDE") {
+ let jemalloc = PathBuf::from(jemalloc);
+ println!("cargo:rustc-link-search=native={}",
+@@ -176,11 +182,6 @@ fn main() {
+ println!("cargo:rustc-link-lib=static=jemalloc_pic");
+ }
+ println!("cargo:rustc-link-search=native={}/lib", build_dir.display());
+-if target.contains("android") {
+-println!("cargo:rustc-link-lib=gcc");
+-} else if !target.contains("windows") && !target.contains("musl") {
+-println!("cargo:rustc-link-lib=pthread");
+-}
+ 
+ // The pthread_atfork symbols is used by jemalloc on android but the 
really
+ // old android we're building on doesn't have them defined, so just make
+-- 
+2.12.0
+

Copied: rust/repos/community-testing-i686/PKGBUILD (from rev 217789, 
rust/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-03-20 20:44:31 UTC (rev 217790)
@@ -0,0 +1,80 @@
+# $Id$
+# Maintainer: Johannes Löthberg 
+# Contributor: Alexander F Rødseth 
+# Contributor: Daniel Micay 
+# Contributor: userwithuid 
+
+pkgname=('rust' 'rust-docs')
+epoch=1
+pkgver=1.16.0
+pkgrel=1
+
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='https://www.rust-lang.org/'
+arch=('x86_64' 'i686')
+license=('MIT' 'Apache')
+
+makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm' 'jemalloc')
+
+options=('!emptydirs')
+
+source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
+0001-liballoc_jemalloc-fix-linking-with-system-library.patch)
+
+sha256sums=('f966b31eb1cd9bd2df817c391a338eeb5b9253ae0a19bf8a11960c560f96e8b4'
+'SKIP'
+'b61d9aae58925b222cd44d7b41f0aa648fde89a48e7772aa659acd0d74dde612')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
+
+prepare() {
+  cd "rustc-$pkgver-src"
+
+  # Backport of https://github.com/rust-lang/rust/pull/39481
+  patch -p1 
<"$srcdir"/0001-liballoc_jemalloc-fix-linking-with-system-library.patch
+}
+
+build() 

[arch-commits] Commit in rust/repos (6 files)

2017-03-04 Thread Johannes Löthberg
Date: Saturday, March 4, 2017 @ 16:19:33
  Author: demize
Revision: 214907

db-move: moved rust from [community-testing] to [community] (i686, x86_64)

Added:
  rust/repos/community-i686/PKGBUILD
(from rev 214906, rust/repos/community-testing-i686/PKGBUILD)
  rust/repos/community-x86_64/PKGBUILD
(from rev 214906, rust/repos/community-testing-x86_64/PKGBUILD)
Deleted:
  rust/repos/community-i686/PKGBUILD
  rust/repos/community-testing-i686/
  rust/repos/community-testing-x86_64/
  rust/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |  140 
 community-i686/PKGBUILD   |   69 -
 community-x86_64/PKGBUILD |   69 -
 3 files changed, 140 insertions(+), 138 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-03-04 15:08:56 UTC (rev 214906)
+++ community-i686/PKGBUILD 2017-03-04 16:19:33 UTC (rev 214907)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Contributor: Daniel Micay 
-# Contributor: userwithuid 
-
-pkgname=('rust' 'rust-docs')
-epoch=1
-pkgver=1.14.0
-pkgrel=1
-arch=('x86_64' 'i686')
-pkgdesc='Systems programming language focused on safety, speed and concurrency'
-url='https://www.rust-lang.org/'
-groups=('rust')
-license=('MIT' 'Apache')
-makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm' 'cmake' 'ninja' 
'jemalloc')
-source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
-sha256sums=('c790edd2e915bd01bea46122af2942108479a2fda9a6f76d1094add520ac3b6b'
-'SKIP')
-options=('staticlibs' '!strip' '!emptydirs')
-validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
-#gpg --keyserver hkp://keys.gnupg.net --recv-keys 
108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
-
-build() {
-  cd "rustc-$pkgver"
-
-  ./configure \
---prefix=/usr \
---release-channel=stable \
---enable-ninja \
---llvm-root=/usr \
---disable-codegen-tests \
---jemalloc-root=/usr/lib
-
-  export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
-  export CFLAGS="$CFLAGS -fPIC -w"
-
-  make
-}
-
-package_rust() {
-  depends=('gcc-libs' 'llvm-libs')
-
-  cd "rustc-$pkgver"
-
-  make DESTDIR="$pkgdir" 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/"
-}
-
-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/LICENSE-$license" \
-"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done
-}
-
-# vim:set ts=2 sw=2 et:

Copied: rust/repos/community-i686/PKGBUILD (from rev 214906, 
rust/repos/community-testing-i686/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-03-04 16:19:33 UTC (rev 214907)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daniel Micay 
+# Contributor: userwithuid 
+
+pkgname=('rust' 'rust-docs')
+epoch=1
+pkgver=1.15.1
+pkgrel=1
+arch=('x86_64' 'i686')
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='https://www.rust-lang.org/'
+groups=('rust')
+license=('MIT' 'Apache')
+makedepends=('libffi' 'perl' 'python2' 'curl' 'llvm' 'ninja' 'cmake' 'ninja' 
'jemalloc')
+source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
+sha256sums=('2e7daad418a830b45b977cd7ecf181b65f30f73df63ff36e124ea5fe5d1af327'
+'SKIP')
+options=('staticlibs' '!strip' '!emptydirs')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
+#gpg --keyserver hkp://keys.gnupg.net --recv-keys 
108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
+
+build() {
+  cd "rustc-$pkgver-src"
+
+  ./configure \
+--prefix=/usr \
+--release-channel=stable \
+--enable-ninja \
+--llvm-root=/usr \
+--disable-codegen-tests \
+--jemalloc-root=/usr/lib \
+--disable-rustbuild
+
+  export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi"
+  export CFLAGS="$CFLAGS -fPIC -w"
+
+  make
+}
+
+package_rust() {
+  depends=('gcc-libs' 'llvm-libs')
+
+  cd "rustc-$pkgver-src"
+
+  make DESTDIR="$pkgdir" install
+
+  for license in APACHE MIT; do install 

[arch-commits] Commit in rust/repos (6 files)

2016-05-28 Thread Alexander Rødseth
Date: Saturday, May 28, 2016 @ 11:00:44
  Author: arodseth
Revision: 177360

archrelease: copy trunk to community-x86_64, community-i686

Added:
  rust/repos/community-i686/PKGBUILD
(from rev 177359, rust/trunk/PKGBUILD)
  rust/repos/community-x86_64/PKGBUILD
(from rev 177359, rust/trunk/PKGBUILD)
Deleted:
  rust/repos/community-i686/PKGBUILD
  rust/repos/community-i686/rust.install
  rust/repos/community-x86_64/PKGBUILD
  rust/repos/community-x86_64/rust.install

---+
 /PKGBUILD |   84 
 community-i686/PKGBUILD   |   43 
 community-i686/rust.install   |   13 --
 community-x86_64/PKGBUILD |   43 
 community-x86_64/rust.install |   13 --
 5 files changed, 84 insertions(+), 112 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-05-28 09:00:30 UTC (rev 177359)
+++ community-i686/PKGBUILD 2016-05-28 09:00:44 UTC (rev 177360)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# Contributor: Daniel Micay 
-
-pkgname=rust
-pkgver=1.8.0
-epoch=1
-pkgrel=1
-arch=('x86_64' 'i686')
-pkgdesc='Systems programming language focused on safety, speed and concurrency'
-url='http://www.rust-lang.org/'
-license=('MIT' 'Apache')
-makedepends=('libffi' 'perl' 'python2' 'curl')
-source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
-sha256sums=('af4466147e8d4db4de2a46e07494d2dc2d96313c5b37da34237f511c905f7449'
-'SKIP')
-install="$pkgname.install"
-options=('staticlibs' '!strip')
-validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
-#gpg --keyserver hkp://keys.gnupg.net --recv-keys 
108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
-
-build() {
-  cd "rustc-$pkgver"
-
-  ./configure --prefix=/usr --disable-docs --release-channel=stable
-  make
-}
-
-package() {
-  cd "rustc-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 LICENSE-APACHE \
-"$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
-  install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
-
-  cd "$pkgdir/usr/lib"
-  rm rustlib/{components,manifest-rustc,rust-installer-version}
-  ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
-}
-
-# vim:set ts=2 sw=2 et:

Copied: rust/repos/community-i686/PKGBUILD (from rev 177359, 
rust/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-05-28 09:00:44 UTC (rev 177360)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daniel Micay 
+
+pkgname=rust
+epoch=1
+pkgver=1.9.0
+pkgrel=1
+arch=('x86_64' 'i686')
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='http://www.rust-lang.org/'
+license=('MIT' 'Apache')
+makedepends=('libffi' 'perl' 'python2' 'curl' 'jemalloc')
+source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
+sha256sums=('b19b21193d7d36039debeaaa1f61cbf98787e0ce94bd85c5cbe2a59462d7cfcd'
+'SKIP')
+options=('staticlibs' '!strip')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
+#gpg --keyserver hkp://keys.gnupg.net --recv-keys 
108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
+
+build() {
+  cd "rustc-$pkgver"
+
+  ./configure --prefix=/usr --disable-docs --release-channel=stable
+  make CFLAGS="$CFLAGS -fPIC -w"
+}
+
+package() {
+  cd "rustc-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE-APACHE \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+  install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+
+  cd "$pkgdir/usr/lib"
+  rm rustlib/{components,manifest-rustc,rust-installer-version}
+  ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/rust.install
===
--- community-i686/rust.install 2016-05-28 09:00:30 UTC (rev 177359)
+++ community-i686/rust.install 2016-05-28 09:00:44 UTC (rev 177360)
@@ -1,13 +0,0 @@
-post_install() {
-  if type -P update-mime-database &> /dev/null; then
-update-mime-database usr/share/mime >/dev/null
-  fi
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2016-05-28 09:00:30 UTC (rev 177359)
+++ community-x86_64/PKGBUILD   2016-05-28 09:00:44 UTC (rev 177360)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth 
-# 

[arch-commits] Commit in rust/repos (6 files)

2015-12-05 Thread Bartłomiej Piotrowski
Date: Sunday, December 6, 2015 @ 03:33:28
  Author: bpiotrowski
Revision: 148768

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  rust/repos/community-staging-i686/
  rust/repos/community-staging-i686/PKGBUILD
(from rev 148767, rust/trunk/PKGBUILD)
  rust/repos/community-staging-i686/rust.install
(from rev 148767, rust/trunk/rust.install)
  rust/repos/community-staging-x86_64/
  rust/repos/community-staging-x86_64/PKGBUILD
(from rev 148767, rust/trunk/PKGBUILD)
  rust/repos/community-staging-x86_64/rust.install
(from rev 148767, rust/trunk/rust.install)

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/rust.install   |   13 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/rust.install |   13 
 4 files changed, 124 insertions(+)

Copied: rust/repos/community-staging-i686/PKGBUILD (from rev 148767, 
rust/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 02:33:28 UTC (rev 148768)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daniel Micay 
+
+pkgname=rust
+pkgver=1.4.0
+epoch=1
+pkgrel=2
+arch=('x86_64' 'i686')
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='http://www.rust-lang.org/'
+license=('MIT' 'Apache')
+makedepends=('libffi' 'perl' 'python2' 'curl')
+source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
+sha256sums=('1c0dfdce5c85d8098fcebb9adf1493847ab40c1dfaa8cc997af09b2ef0aa8211'
+'SKIP')
+install="$pkgname.install"
+options=('staticlibs' '!strip')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
+#gpg --keyserver hkp://keys.gnupg.net --recv-keys 
108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
+
+prepare() {
+  cd "rustc-$pkgver"
+
+  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
+}
+
+build() {
+  cd "rustc-$pkgver"
+
+  ./configure --prefix=/usr --disable-docs --release-channel=stable
+  make
+}
+
+package() {
+  cd "rustc-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE-APACHE \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+  install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+
+  cd "$pkgdir/usr/lib"
+  rm rustlib/{components,manifest-rustc,rust-installer-version}
+  ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
+}
+
+# vim:set ts=2 sw=2 et:

Copied: rust/repos/community-staging-i686/rust.install (from rev 148767, 
rust/trunk/rust.install)
===
--- community-staging-i686/rust.install (rev 0)
+++ community-staging-i686/rust.install 2015-12-06 02:33:28 UTC (rev 148768)
@@ -0,0 +1,13 @@
+post_install() {
+  if type -P update-mime-database &> /dev/null; then
+update-mime-database usr/share/mime >/dev/null
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: rust/repos/community-staging-x86_64/PKGBUILD (from rev 148767, 
rust/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-06 02:33:28 UTC (rev 148768)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daniel Micay 
+
+pkgname=rust
+pkgver=1.4.0
+epoch=1
+pkgrel=2
+arch=('x86_64' 'i686')
+pkgdesc='Systems programming language focused on safety, speed and concurrency'
+url='http://www.rust-lang.org/'
+license=('MIT' 'Apache')
+makedepends=('libffi' 'perl' 'python2' 'curl')
+source=("http://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc})
+sha256sums=('1c0dfdce5c85d8098fcebb9adf1493847ab40c1dfaa8cc997af09b2ef0aa8211'
+'SKIP')
+install="$pkgname.install"
+options=('staticlibs' '!strip')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
+#gpg --keyserver hkp://keys.gnupg.net --recv-keys 
108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
+
+prepare() {
+  cd "rustc-$pkgver"
+
+  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
+}
+
+build() {
+  cd "rustc-$pkgver"
+
+  ./configure --prefix=/usr --disable-docs --release-channel=stable
+  make
+}
+
+package() {
+  cd "rustc-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE-APACHE \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+  install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+
+  cd 

[arch-commits] Commit in rust/repos (6 files)

2015-01-29 Thread Anatol Pomozov
Date: Friday, January 30, 2015 @ 02:50:23
  Author: anatolik
Revision: 126768

archrelease: copy trunk to community-i686, community-x86_64

Added:
  rust/repos/community-i686/
  rust/repos/community-i686/PKGBUILD
(from rev 126767, rust/trunk/PKGBUILD)
  rust/repos/community-i686/rust.install
(from rev 126767, rust/trunk/rust.install)
  rust/repos/community-x86_64/
  rust/repos/community-x86_64/PKGBUILD
(from rev 126767, rust/trunk/PKGBUILD)
  rust/repos/community-x86_64/rust.install
(from rev 126767, rust/trunk/rust.install)

---+
 community-i686/PKGBUILD   |   64 
 community-i686/rust.install   |   13 
 community-x86_64/PKGBUILD |   64 
 community-x86_64/rust.install |   13 
 4 files changed, 154 insertions(+)

Copied: rust/repos/community-i686/PKGBUILD (from rev 126767, 
rust/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-01-30 01:50:23 UTC (rev 126768)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Daniel Micay danielmi...@gmail.com
+
+pkgname=rust
+_pkgver=1.0.0-alpha
+pkgver=1.0.0.alpha
+pkgrel=3
+arch=(i686 x86_64)
+pkgdesc='A safe, concurrent, practical language'
+url='http://www.rust-lang.org/'
+license=(MIT Apache)
+depends=(gcc)
+makedepends=(libffi perl python2 curl)
+checkdepends=(git valgrind)
+source=(http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz{,.asc})
+sha256sums=('3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c'
+'SKIP')
+install=rust.install
+options=(staticlibs)
+validpgpkeys=(108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE) # Rust Language (Tag 
and Release Signing Key) rust-...@rust-lang.org
+
+build() {
+  cd rustc-$_pkgver
+
+  ./configure --prefix=/usr --disable-debug --disable-docs 
--disable-verify-install
+
+  # avoid python makedepend (force fallback to python2)
+  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
+
+  make
+}
+
+check() {
+  cd rustc-$_pkgver
+  #make check
+}
+
+package() {
+  cd rustc-$_pkgver
+  make DESTDIR=$pkgdir install
+
+  mkdir -p $pkgdir/usr/share/vim $pkgdir/usr/share/licenses/$pkgname
+
+  cp -a src/etc/vim $pkgdir/usr/share/vim/vimfiles
+  find $pkgdir/usr/share/vim -type f -exec chmod 644 {} +
+  find $pkgdir/usr/share/vim -type d -exec chmod 755 {} +
+
+  install -Dm644 src/etc/zsh/_rust $pkgdir/usr/share/zsh/site-functions/_rust
+  install -Dm644 src/etc/kate/rust.xml 
$pkgdir/usr/share/apps/katepart/syntax/rust.xml
+  install -Dm644 src/etc/gedit/share/mime/packages/rust.xml \
+$pkgdir/usr/share/mime/packages/rust.xml
+  install -Dm644 
src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang \
+$pkgdir/usr/share/gtksourceview-3.0/language-specs/rust.lang
+
+  install -m644 LICENSE-APACHE $pkgdir/usr/share/licenses/$pkgname
+  install -m644 LICENSE-MIT $pkgdir/usr/share/licenses/$pkgname
+
+  cd src/etc/emacs
+  install -Dm644 rust-mode.el $pkgdir/usr/share/emacs/site-lisp/rust-mode.el
+
+  cd $pkgdir/usr/lib
+  rm rustlib/{components,manifest-rustc,rust-installer-version}
+  ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
+}

Copied: rust/repos/community-i686/rust.install (from rev 126767, 
rust/trunk/rust.install)
===
--- community-i686/rust.install (rev 0)
+++ community-i686/rust.install 2015-01-30 01:50:23 UTC (rev 126768)
@@ -0,0 +1,13 @@
+post_install() {
+  if type -P update-mime-database  /dev/null; then
+update-mime-database usr/share/mime /dev/null
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: rust/repos/community-x86_64/PKGBUILD (from rev 126767, 
rust/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2015-01-30 01:50:23 UTC (rev 126768)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Daniel Micay danielmi...@gmail.com
+
+pkgname=rust
+_pkgver=1.0.0-alpha
+pkgver=1.0.0.alpha
+pkgrel=3
+arch=(i686 x86_64)
+pkgdesc='A safe, concurrent, practical language'
+url='http://www.rust-lang.org/'
+license=(MIT Apache)
+depends=(gcc)
+makedepends=(libffi perl python2 curl)
+checkdepends=(git valgrind)
+source=(http://static.rust-lang.org/dist/rustc-$_pkgver-src.tar.gz{,.asc})
+sha256sums=('3a2285726e839fc57ad49ed8907a50bab2d29d8f898e2d5a02f620a0477fc25c'
+'SKIP')
+install=rust.install
+options=(staticlibs)
+validpgpkeys=(108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE) # Rust Language (Tag 
and Release Signing Key) rust-...@rust-lang.org
+
+build() {
+  cd rustc-$_pkgver
+
+  ./configure --prefix=/usr --disable-debug --disable-docs 
--disable-verify-install
+
+  # avoid python makedepend (force fallback to python2)
+  sed -i 

[arch-commits] Commit in rust/repos (6 files)

2013-04-05 Thread Daniel Micay
Date: Saturday, April 6, 2013 @ 01:21:32
  Author: thestinger
Revision: 87747

archrelease: copy trunk to community-i686, community-x86_64

Added:
  rust/repos/community-i686/PKGBUILD
(from rev 87746, rust/trunk/PKGBUILD)
  rust/repos/community-i686/rust.install
(from rev 87746, rust/trunk/rust.install)
  rust/repos/community-x86_64/PKGBUILD
(from rev 87746, rust/trunk/PKGBUILD)
  rust/repos/community-x86_64/rust.install
(from rev 87746, rust/trunk/rust.install)
Deleted:
  rust/repos/community-i686/rust.install
  rust/repos/community-x86_64/rust.install

---+
 /rust.install |   22 +
 community-i686/PKGBUILD   |   63 
 community-i686/rust.install   |   11 --
 community-x86_64/PKGBUILD |   63 
 community-x86_64/rust.install |   11 --
 5 files changed, 148 insertions(+), 22 deletions(-)

Copied: rust/repos/community-i686/PKGBUILD (from rev 87746, rust/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-04-05 23:21:32 UTC (rev 87747)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Daniel Micay danielmi...@gmail.com
+pkgname=rust
+pkgver=0.6
+pkgrel=3
+arch=('i686' 'x86_64')
+pkgdesc='A safe, concurrent, practical language'
+url='http://www.rust-lang.org/'
+license=('MIT' 'Apache')
+depends=(gcc-libs shared-mime-info)
+makedepends=(libffi perl python2 curl chrpath emacs)
+optdepends=('haskell-pandoc: documentation generator (rustdoc)')
+source=(http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz;)
+sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
+install=rust.install
+
+build() {
+  cd rust-$pkgver
+
+  ./configure --prefix=/usr --disable-docs
+
+  # avoid python makedepend (force fallback to python2)
+  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
+
+  make
+}
+
+check() {
+  cd rust-$pkgver
+  make check
+}
+
+package() {
+  cd rust-$pkgver
+  make DESTDIR=$pkgdir install
+
+  mkdir -p $pkgdir/usr/share/vim $pkgdir/usr/share/licenses/rust
+
+  cp -a src/etc/vim $pkgdir/usr/share/vim/vimfiles
+  find $pkgdir/usr/share/vim -type f -exec chmod 644 {} +
+  find $pkgdir/usr/share/vim -type d -exec chmod 755 {} +
+
+  install -Dm644 src/etc/kate/rust.xml 
$pkgdir/usr/share/apps/katepart/syntax/rust.xml
+  install -Dm644 src/etc/gedit/share/mime/packages/rust.xml \
+$pkgdir/usr/share/mime/packages/rust.xml
+  install -Dm644 
src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang \
+$pkgdir/usr/share/gtksourceview-3.0/language-specs/rust.lang
+
+  install -m644 LICENSE-APACHE $pkgdir/usr/share/licenses/rust
+  install -m644 LICENSE-MIT $pkgdir/usr/share/licenses/rust
+
+  cd src/etc/emacs
+  make
+  mkdir -p $pkgdir/usr/share/emacs/site-lisp/
+  install -Dm644 cm-mode.el{,c} rust-mode.el{,c} 
$pkgdir/usr/share/emacs/site-lisp/
+
+  cd $pkgdir/usr
+
+  # https://github.com/mozilla/rust/issues/5219
+  chrpath -d bin/* lib/*.so lib/rustc/*/lib/*.so
+
+  cp lib/rustc/*/lib/{librustdoc-*-0.6.so,librustpkg-*-0.6.so} lib/
+}

Deleted: community-i686/rust.install
===
--- community-i686/rust.install 2013-04-05 23:16:11 UTC (rev 87746)
+++ community-i686/rust.install 2013-04-05 23:21:32 UTC (rev 87747)
@@ -1,11 +0,0 @@
-post_install() {
-  update-mime-database usr/share/mime /dev/null
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: rust/repos/community-i686/rust.install (from rev 87746, 
rust/trunk/rust.install)
===
--- community-i686/rust.install (rev 0)
+++ community-i686/rust.install 2013-04-05 23:21:32 UTC (rev 87747)
@@ -0,0 +1,11 @@
+post_install() {
+  update-mime-database usr/share/mime /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: rust/repos/community-x86_64/PKGBUILD (from rev 87746, 
rust/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2013-04-05 23:21:32 UTC (rev 87747)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Daniel Micay danielmi...@gmail.com
+pkgname=rust
+pkgver=0.6
+pkgrel=3
+arch=('i686' 'x86_64')
+pkgdesc='A safe, concurrent, practical language'
+url='http://www.rust-lang.org/'
+license=('MIT' 'Apache')
+depends=(gcc-libs shared-mime-info)
+makedepends=(libffi perl python2 curl chrpath emacs)
+optdepends=('haskell-pandoc: documentation generator (rustdoc)')
+source=(http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz;)
+sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
+install=rust.install
+
+build() {
+  cd rust-$pkgver
+
+  ./configure 

[arch-commits] Commit in rust/repos (6 files)

2013-04-03 Thread Daniel Micay
Date: Wednesday, April 3, 2013 @ 11:53:17
  Author: thestinger
Revision: 87570

archrelease: copy trunk to community-i686, community-x86_64

Added:
  rust/repos/community-i686/PKGBUILD
(from rev 87569, rust/trunk/PKGBUILD)
  rust/repos/community-i686/rust.install
(from rev 87569, rust/trunk/rust.install)
  rust/repos/community-x86_64/PKGBUILD
(from rev 87569, rust/trunk/PKGBUILD)
  rust/repos/community-x86_64/rust.install
(from rev 87569, rust/trunk/rust.install)
Deleted:
  rust/repos/community-i686/PKGBUILD
  rust/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |  114 
 community-i686/PKGBUILD   |   46 
 community-i686/rust.install   |   11 +++
 community-x86_64/PKGBUILD |   46 
 community-x86_64/rust.install |   11 +++
 5 files changed, 136 insertions(+), 92 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-04-03 09:46:17 UTC (rev 87569)
+++ community-i686/PKGBUILD 2013-04-03 09:53:17 UTC (rev 87570)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Daniel Micay danielmi...@gmail.com
-pkgname=rust
-pkgver=0.6
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc='A safe, concurrent, practical language'
-url='http://www.rust-lang.org/'
-license=('MIT' 'Apache')
-depends=('gcc-libs')
-makedepends=(libffi perl python2 curl chrpath)
-source=(http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz;)
-sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
-
-build() {
-  cd rust-$pkgver
-
-  ./configure --prefix=/usr --disable-docs
-
-  # avoid python makedepend (force fallback to python2)
-  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
-
-  make
-}
-
-package() {
-  cd rust-${pkgver}
-  make DESTDIR=$pkgdir install
-
-  mkdir -p $pkgdir/usr/share/vim $pkgdir/usr/share/licenses/rust
-
-  # should be globally readable
-  cp -a src/etc/vim $pkgdir/usr/share/vim/vimfiles
-  find $pkgdir/usr/share/vim -type f -exec chmod 644 {} +
-  find $pkgdir/usr/share/vim -type d -exec chmod 755 {} +
-
-  install -m644 LICENSE-APACHE $pkgdir/usr/share/licenses/rust
-  install -m644 LICENSE-MIT $pkgdir/usr/share/licenses/rust
-
-  cd $pkgdir/usr
-
-  # https://github.com/mozilla/rust/issues/5219
-  chrpath -d bin/* lib/*.so lib/rustc/*/lib/*.so
-
-  cp lib/rustc/*/lib/{librustdoc-*-0.6.so,librustpkg-*-0.6.so} lib/
-}

Copied: rust/repos/community-i686/PKGBUILD (from rev 87569, rust/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-04-03 09:53:17 UTC (rev 87570)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Daniel Micay danielmi...@gmail.com
+pkgname=rust
+pkgver=0.6
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='A safe, concurrent, practical language'
+url='http://www.rust-lang.org/'
+license=('MIT' 'Apache')
+depends=(gcc-libs shared-mime-info)
+makedepends=(libffi perl python2 curl chrpath emacs)
+source=(http://static.rust-lang.org/dist/rust-${pkgver}.tar.gz;)
+sha256sums=('e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5')
+install=rust.install
+
+build() {
+  cd rust-$pkgver
+
+  ./configure --prefix=/usr --disable-docs
+
+  # avoid python makedepend (force fallback to python2)
+  sed -i 's/^PYTHONVERSION.*/PYTHONVERSION := 3/' src/llvm/Makefile.rules
+
+  make
+}
+
+package() {
+  cd rust-$pkgver
+  make DESTDIR=$pkgdir install
+
+  mkdir -p $pkgdir/usr/share/vim $pkgdir/usr/share/licenses/rust
+
+  cp -a src/etc/vim $pkgdir/usr/share/vim/vimfiles
+  find $pkgdir/usr/share/vim -type f -exec chmod 644 {} +
+  find $pkgdir/usr/share/vim -type d -exec chmod 755 {} +
+
+  install -Dm644 src/etc/kate/rust.xml 
$pkgdir/usr/share/apps/katepart/syntax/rust.xml
+  install -Dm644 src/etc/gedit/share/mime/packages/rust.xml \
+$pkgdir/usr/share/mime/packages/rust.xml
+  install -Dm644 
src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang \
+$pkgdir/usr/share/gtksourceview-3.0/language-specs/rust.lang
+
+  install -m644 LICENSE-APACHE $pkgdir/usr/share/licenses/rust
+  install -m644 LICENSE-MIT $pkgdir/usr/share/licenses/rust
+
+  cd src/etc/emacs
+  make
+  mkdir -p $pkgdir/usr/share/emacs/site-lisp/
+  install -Dm644 cm-mode.el{,c} rust-mode.el{,c} 
$pkgdir/usr/share/emacs/site-lisp/
+
+  cd $pkgdir/usr
+
+  # https://github.com/mozilla/rust/issues/5219
+  chrpath -d bin/* lib/*.so lib/rustc/*/lib/*.so
+
+  cp lib/rustc/*/lib/{librustdoc-*-0.6.so,librustpkg-*-0.6.so} lib/
+}

Copied: rust/repos/community-i686/rust.install (from rev 87569, 
rust/trunk/rust.install)
===
--- community-i686/rust.install (rev 0)
+++ community-i686/rust.install 2013-04-03 09:53:17 UTC (rev 87570)
@@ -0,0 +1,11 @@
+post_install() {