summaryrefslogtreecommitdiff
path: root/system/ruby
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-01 21:46:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-01 21:46:23 +0000
commitf005d594f0095f50a9f1ae8a8253258173b7d009 (patch)
tree418afd496b1a3d4c055937b9df3a32429ce0bf0f /system/ruby
parent0393d71e83500735c68eba1d31a55cd0b773ba09 (diff)
downloadpackages-f005d594f0095f50a9f1ae8a8253258173b7d009.tar.gz
packages-f005d594f0095f50a9f1ae8a8253258173b7d009.tar.bz2
packages-f005d594f0095f50a9f1ae8a8253258173b7d009.tar.xz
packages-f005d594f0095f50a9f1ae8a8253258173b7d009.zip
system/ruby: fix depends on some split gems, don't split etc
Diffstat (limited to 'system/ruby')
-rw-r--r--system/ruby/APKBUILD15
1 files changed, 3 insertions, 12 deletions
diff --git a/system/ruby/APKBUILD b/system/ruby/APKBUILD
index 306f47ce7..67b89f845 100644
--- a/system/ruby/APKBUILD
+++ b/system/ruby/APKBUILD
@@ -35,7 +35,7 @@
pkgname=ruby
pkgver=2.5.5
_abiver="${pkgver%.*}.0"
-pkgrel=0
+pkgrel=1
pkgdesc="An object-oriented language for quick and easy programming"
url="https://www.ruby-lang.org/"
arch="all"
@@ -48,7 +48,6 @@ install="$pkgname.post-upgrade"
subpackages="$pkgname-doc $pkgname-dev
$pkgname-bigdecimal
$pkgname-did_you_mean::noarch
- $pkgname-etc
$pkgname-fiddle
$pkgname-io-console:io_console
$pkgname-irb::noarch
@@ -70,7 +69,7 @@ source="https://cache.ruby-lang.org/pub/ruby/${pkgver%.*}/$pkgname-$pkgver.tar.x
test_insns-lower-recursion-depth.patch
fix-get_main_stack.patch
"
-replaces="ruby-gems"
+replaces="ruby-etc ruby-gems"
_gemdir="/usr/lib/ruby/gems/$_abiver"
_rubydir="/usr/lib/ruby/$_abiver"
@@ -163,14 +162,6 @@ did_you_mean() {
_mvgem did_you_mean
}
-etc() {
- pkgdesc="Provides access to information typically stored in UNIX /etc directory"
- license="BSD-2-Clause"
- depends=""
-
- _mvgem etc
-}
-
fiddle() {
pkgdesc="A libffi wrapper for Ruby"
license="BSD-2-Clause"
@@ -192,7 +183,7 @@ io_console() {
irb() {
pkgdesc="The Interactive Ruby"
replaces="$pkgname"
- depends="$pkgname"
+ depends="$pkgname ruby-io-console"
cd "$pkgdir"
_mv usr/bin/irb \