aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-25 20:51:07 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-26 18:41:52 +0100
commit12a9b503b473101f1594e97bc88d4ee85a15538f (patch)
tree49eb4a95e647825c641c23f45e48c388d926ac4f
parent0eca45bd8f646107ee6c9dad9394bb0eb26b3e4b (diff)
downloadaports-12a9b503b473101f1594e97bc88d4ee85a15538f.tar.bz2
aports-12a9b503b473101f1594e97bc88d4ee85a15538f.tar.xz
main/ruby: move some bundled gems into separate subpackages
Note: openssl, psych and zlib are needed for rubygems.
-rw-r--r--main/ruby/APKBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD
index a29f4a2221..4c3947d76b 100644
--- a/main/ruby/APKBUILD
+++ b/main/ruby/APKBUILD
@@ -29,7 +29,11 @@ makedepends="$depends_dev zlib-dev libressl-dev gdbm-dev db-dev readline-dev
libffi-dev coreutils yaml-dev linux-headers autoconf"
subpackages="$pkgname-doc $pkgname-dev
$pkgname-bigdecimal
+ $pkgname-dbm
$pkgname-did_you_mean::noarch
+ $pkgname-etc
+ $pkgname-fiddle
+ $pkgname-gdbm
$pkgname-io-console:io_console
$pkgname-irb::noarch
$pkgname-json
@@ -38,7 +42,9 @@ subpackages="$pkgname-doc $pkgname-dev
$pkgname-power_assert::noarch
$pkgname-rake::noarch
$pkgname-rdoc::noarch
+ $pkgname-sdbm
$pkgname-test-unit:test_unit:noarch
+ $pkgname-webrick::noarch
$pkgname-xmlrpc::noarch
$pkgname-libs
"
@@ -130,6 +136,14 @@ bigdecimal() {
_mvgem bigdecimal
}
+dbm() {
+ pkgdesc="A Ruby wrapper for the UNIX-style Database Manager Library"
+ license="BSD-2-Clause"
+ depends=""
+
+ _mvgem dbm
+}
+
did_you_mean() {
pkgdesc="Did you mean? experience in Ruby"
license="MIT"
@@ -138,6 +152,30 @@ 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"
+ depends=""
+
+ _mvgem fiddle
+}
+
+gdbm() {
+ pkgdesc="Ruby extension for GNU dbm"
+ license="BSD-2-Clause"
+ depends=""
+
+ _mvgem gdbm
+}
+
io_console() {
pkgdesc="Ruby simple console IO library"
license="BSD-2-Clause"
@@ -207,6 +245,14 @@ rdoc() {
usr/bin/rdoc
}
+sdbm() {
+ pkgdesc="A simple file-based key-value store with String keys and values for Ruby"
+ license="BSD-2-Clause"
+ depends=""
+
+ _mvgem sdbm
+}
+
test_unit() {
pkgdesc="An xUnit family unit testing framework for Ruby"
license="Ruby PSFL"
@@ -215,6 +261,14 @@ test_unit() {
_mvgem test-unit
}
+webrick() {
+ pkgdesc="HTTP server toolkit for Ruby"
+ license="BSD-2-Clause"
+ depends="$pkgname"
+
+ _mvgem webrick
+}
+
xmlrpc() {
pkgdesc="XMLRPC library for Ruby"
license="Ruby"