[arch-commits] Commit in rubinius/repos/community-x86_64 (6 files)
Jan Steffens
heftig at archlinux.org
Sun Nov 13 23:54:40 UTC 2016
Date: Sunday, November 13, 2016 @ 23:54:40
Author: heftig
Revision: 195550
archrelease: copy trunk to community-x86_64
Added:
rubinius/repos/community-x86_64/PKGBUILD
(from rev 195549, rubinius/trunk/PKGBUILD)
rubinius/repos/community-x86_64/dirs.patch
(from rev 195549, rubinius/trunk/dirs.patch)
rubinius/repos/community-x86_64/gemrc
(from rev 195549, rubinius/trunk/gemrc)
Deleted:
rubinius/repos/community-x86_64/PKGBUILD
rubinius/repos/community-x86_64/dirs.patch
rubinius/repos/community-x86_64/gemrc
------------+
PKGBUILD | 175 ++++++++++++++++++++++++++++-------------------------------
dirs.patch | 42 +++++++-------
gemrc | 10 +--
3 files changed, 112 insertions(+), 115 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-13 23:53:20 UTC (rev 195549)
+++ PKGBUILD 2016-11-13 23:54:40 UTC (rev 195550)
@@ -1,89 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=rubinius
-pkgname=(rubinius rubinius-ruby)
-pkgver=3.67
-pkgrel=1
-pkgdesc="Ruby runtime written in Ruby, designed for concurrency"
-arch=(x86_64)
-url="http://rubinius.com"
-license=(custom)
-depends=(libffi openssl libyaml)
-makedepends=(llvm ruby clang valgrind)
-options=(!emptydirs)
-source=(http://releases.rubinius.com/${pkgbase}-${pkgver}.tar.bz2
- gemrc dirs.patch)
-sha256sums=('a5eedd6169f80df528ac73cf2ed9183e2f5a82a57ca0b2ae3962c26238427b87'
- '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614'
- '1bfb4d590d35f01b3ee344cec8f961558f08847b3db54e5f56a4a20a22a898ec')
-
-_common() {
- export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8" TMPDIR="$srcdir"
- cd $pkgbase-$pkgver
-}
-
-prepare() {
- _common
-
- patch -Np1 -i ../dirs.patch
-
- # Unbreak llvm-config
- sed -i 's/--libfiles/--libs/' rakelib/blueprint.rb
-
- mkdir -p "$GEM_HOME"
- gem install --no-user-install -N vendor/cache/bundler-*.gem
-
- "$GEM_HOME/bin/bundle" install --local
-}
-
-build() {
- _common
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --includedir=/usr/include/rubinius \
- --appdir=/usr/lib/rubinius \
- --gemsdir=/usr/lib/rubinius/gems \
- --preserve-prefix \
- --without-rpath \
- --bin-link bundle --bin-link bundler
- rake build
-}
-
-check() {
- _common
- rake vm:test || :
-}
-
-package_rubinius() {
- optdepends=('ruby-docs: Ruby documentation')
-
- _common
-
- DESTDIR="$pkgdir" rake install
-
- mkdir -p "$pkgdir/usr/share/ri"
- ln -s 2.3.0 "$pkgdir/usr/share/ri/2.3"
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/rubinius/LICENSE"
-
-### Split rubinius-ruby
- mkdir -p "$srcdir/ruby/usr/bin"
- for _f in "$pkgdir"/usr/bin/*; do
- [[ $_f == */rbx ]] && continue
- mv $_f "$srcdir/ruby/usr/bin"
- done
-}
-
-package_rubinius-ruby() {
- pkgdesc="Ruby compat for Rubinius"
- depends=("rubinius=$pkgver-$pkgrel")
- provides=(ruby)
- conflicts=(ruby)
- backup=(etc/gemrc)
-
- mv ruby/* "$pkgdir"
- install -Dm644 gemrc "$pkgdir/etc/gemrc"
- install -d "$pkgdir/usr/share/licenses/rubinius-ruby"
- ln -s ../rubinius/LICENSE "$pkgdir/usr/share/licenses/rubinius-ruby/LICENSE"
-}
Copied: rubinius/repos/community-x86_64/PKGBUILD (from rev 195549, rubinius/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-11-13 23:54:40 UTC (rev 195550)
@@ -0,0 +1,86 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=rubinius
+pkgname=(rubinius rubinius-ruby)
+pkgver=3.68
+pkgrel=1
+pkgdesc="Ruby runtime written in Ruby, designed for concurrency"
+arch=(x86_64)
+url="http://rubinius.com"
+license=(custom)
+depends=(libffi openssl libyaml)
+makedepends=(llvm ruby clang valgrind)
+options=(!emptydirs)
+source=(http://releases.rubinius.com/${pkgbase}-${pkgver}.tar.bz2
+ gemrc dirs.patch)
+sha256sums=('44f423a8557aa8fa383573638a94faaf3f9c587a771be267c60ed0c78784f567'
+ '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614'
+ '1bfb4d590d35f01b3ee344cec8f961558f08847b3db54e5f56a4a20a22a898ec')
+
+_common() {
+ export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8" TMPDIR="$srcdir"
+ cd $pkgbase-$pkgver
+}
+
+prepare() {
+ _common
+
+ patch -Np1 -i ../dirs.patch
+
+ mkdir -p "$GEM_HOME"
+ gem install --no-user-install -N vendor/cache/bundler-*.gem
+
+ "$GEM_HOME/bin/bundle" install --local
+}
+
+build() {
+ _common
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --includedir=/usr/include/rubinius \
+ --appdir=/usr/lib/rubinius \
+ --gemsdir=/usr/lib/rubinius/gems \
+ --preserve-prefix \
+ --without-rpath \
+ --bin-link bundle --bin-link bundler
+ rake build
+}
+
+check() {
+ _common
+ rake vm:test || :
+}
+
+package_rubinius() {
+ optdepends=('ruby-docs: Ruby documentation')
+
+ _common
+
+ DESTDIR="$pkgdir" rake install
+
+ mkdir -p "$pkgdir/usr/share/ri"
+ ln -s 2.3.0 "$pkgdir/usr/share/ri/2.3"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/rubinius/LICENSE"
+
+### Split rubinius-ruby
+ mkdir -p "$srcdir/ruby/usr/bin"
+ for _f in "$pkgdir"/usr/bin/*; do
+ [[ $_f == */rbx ]] && continue
+ mv $_f "$srcdir/ruby/usr/bin"
+ done
+}
+
+package_rubinius-ruby() {
+ pkgdesc="Ruby compat for Rubinius"
+ depends=("rubinius=$pkgver-$pkgrel")
+ provides=(ruby)
+ conflicts=(ruby)
+ backup=(etc/gemrc)
+
+ mv ruby/* "$pkgdir"
+ install -Dm644 gemrc "$pkgdir/etc/gemrc"
+ install -d "$pkgdir/usr/share/licenses/rubinius-ruby"
+ ln -s ../rubinius/LICENSE "$pkgdir/usr/share/licenses/rubinius-ruby/LICENSE"
+}
Deleted: dirs.patch
===================================================================
--- dirs.patch 2016-11-13 23:53:20 UTC (rev 195549)
+++ dirs.patch 2016-11-13 23:54:40 UTC (rev 195550)
@@ -1,21 +0,0 @@
-diff --git i/core/rbconfig.rb w/core/rbconfig.rb
-index 8d23097..acd6ed8 100644
---- i/core/rbconfig.rb
-+++ w/core/rbconfig.rb
-@@ -14,12 +14,12 @@ module RbConfig
- CONFIG["exec_prefix"] = "$(prefix)"
- CONFIG["bindir"] = Rubinius::BIN_PATH.dup
- CONFIG["sbindir"] = "$(exec_prefix)/sbin"
-- CONFIG["libexecdir"] = "$(exec_prefix)/libexec"
-+ CONFIG["libexecdir"] = "/usr/lib/rubinius"
- CONFIG["datarootdir"] = "$(prefix)/share"
- CONFIG["datadir"] = "$(datarootdir)"
-- CONFIG["sysconfdir"] = "$(prefix)/etc"
-- CONFIG["sharedstatedir"] = "$(prefix)/com"
-- CONFIG["localstatedir"] = "$(prefix)/var"
-+ CONFIG["sysconfdir"] = "/etc"
-+ CONFIG["sharedstatedir"] = "/var/lib"
-+ CONFIG["localstatedir"] = "/var"
- CONFIG["includedir"] = "$(prefix)/include"
- CONFIG["oldincludedir"] = "/usr/include"
- CONFIG["docdir"] = "$(datarootdir)/doc/$(PACKAGE)"
Copied: rubinius/repos/community-x86_64/dirs.patch (from rev 195549, rubinius/trunk/dirs.patch)
===================================================================
--- dirs.patch (rev 0)
+++ dirs.patch 2016-11-13 23:54:40 UTC (rev 195550)
@@ -0,0 +1,21 @@
+diff --git i/core/rbconfig.rb w/core/rbconfig.rb
+index 8d23097..acd6ed8 100644
+--- i/core/rbconfig.rb
++++ w/core/rbconfig.rb
+@@ -14,12 +14,12 @@ module RbConfig
+ CONFIG["exec_prefix"] = "$(prefix)"
+ CONFIG["bindir"] = Rubinius::BIN_PATH.dup
+ CONFIG["sbindir"] = "$(exec_prefix)/sbin"
+- CONFIG["libexecdir"] = "$(exec_prefix)/libexec"
++ CONFIG["libexecdir"] = "/usr/lib/rubinius"
+ CONFIG["datarootdir"] = "$(prefix)/share"
+ CONFIG["datadir"] = "$(datarootdir)"
+- CONFIG["sysconfdir"] = "$(prefix)/etc"
+- CONFIG["sharedstatedir"] = "$(prefix)/com"
+- CONFIG["localstatedir"] = "$(prefix)/var"
++ CONFIG["sysconfdir"] = "/etc"
++ CONFIG["sharedstatedir"] = "/var/lib"
++ CONFIG["localstatedir"] = "/var"
+ CONFIG["includedir"] = "$(prefix)/include"
+ CONFIG["oldincludedir"] = "/usr/include"
+ CONFIG["docdir"] = "$(datarootdir)/doc/$(PACKAGE)"
Deleted: gemrc
===================================================================
--- gemrc 2016-11-13 23:53:20 UTC (rev 195549)
+++ gemrc 2016-11-13 23:54:40 UTC (rev 195550)
@@ -1,5 +0,0 @@
-# Read about the gemrc format at http://docs.rubygems.org/read/chapter/11
-
-# --user-install is used to install to $HOME/.gem/ by default since we want to separate
-# pacman installed gems and gem installed gems
-gem: --user-install
Copied: rubinius/repos/community-x86_64/gemrc (from rev 195549, rubinius/trunk/gemrc)
===================================================================
--- gemrc (rev 0)
+++ gemrc 2016-11-13 23:54:40 UTC (rev 195550)
@@ -0,0 +1,5 @@
+# Read about the gemrc format at http://docs.rubygems.org/read/chapter/11
+
+# --user-install is used to install to $HOME/.gem/ by default since we want to separate
+# pacman installed gems and gem installed gems
+gem: --user-install
More information about the arch-commits
mailing list