summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-06 00:07:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-06 00:07:58 +0100
commit44cec61076bf2bbb3cea1fc89943dd6818a5acc5 (patch)
tree68f1cddcf97a0d746c1e9c186171b7bd603efccf /dev-ruby
parent9d1e33edaf09cde926d589461f40e378d4124be9 (diff)
gentoo auto-resync : 06:06:2024 - 00:07:57
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin110310 -> 110303 bytes
-rw-r--r--dev-ruby/curses/Manifest2
-rw-r--r--dev-ruby/curses/curses-1.4.6.ebuild29
-rw-r--r--dev-ruby/io-event/Manifest2
-rw-r--r--dev-ruby/io-event/io-event-1.6.0.ebuild36
-rw-r--r--dev-ruby/memo_wise/Manifest2
-rw-r--r--dev-ruby/memo_wise/memo_wise-1.9.0.ebuild35
-rw-r--r--dev-ruby/rdoc/Manifest2
-rw-r--r--dev-ruby/rdoc/rdoc-6.5.0.ebuild98
9 files changed, 106 insertions, 100 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index 3d7f5dbc588a..1a874c9eb807 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/curses/Manifest b/dev-ruby/curses/Manifest
index b271b7235ae4..7efa0c41c004 100644
--- a/dev-ruby/curses/Manifest
+++ b/dev-ruby/curses/Manifest
@@ -1,5 +1,7 @@
DIST curses-1.4.4.gem 524800 BLAKE2B 00749022a097a69b8a1a42b88b64a81a60cd6e6914dbc0636a1ed17db6f7b3f1f0e583b965b9b296ff27a5dc97786024f0511b2ed59e337ef29a799dda0fc577 SHA512 5e275b7bc035c9745ed19d563da97aba090f66d4831a4cf07144ff29f3b49a36bbee592e1292719d6bcfd1f6a77d2955de5d7e5ff34ce487d574482a0cee1a53
DIST curses-1.4.5.gem 525312 BLAKE2B 7b225608ea88ccdf6c128fca0601452fbc7e684cfa617e8a3d3f42b97f9fcf72f6a15486d2a494838f8650ae4b7562cfff6a5f0177ebd93b2009b6594abbe5c4 SHA512 3ac95432f7cde24b5949f2be0935ea3dbed704012eb756b0d58b971406e7d0535f02a249993e712ca491a793b079d41743e159edc1a80ec9ab65161df13eebf3
+DIST curses-1.4.6.gem 46080 BLAKE2B 1b83124a5404903aed8d7d4bd78d57dc6cf437c9f5b2ff0b8ee840f53017f1493f24808285e987c902c5e03c9ed663546db49b7b26b80999bdf042a067dded48 SHA512 e98879517afb7248a8fac7575e9ef85f9be63e76a269e1c3dd5ac2ad0cdb2636f560a0b875883f58ec86c0be89a3fec4f8088179c77319db5fe4e324edae280e
EBUILD curses-1.4.4.ebuild 759 BLAKE2B a358eac8afa63d9010ac627cf5c5f329ac63ec56204967724440b81055f3dfe7b116d3ffa787cd235f70731096338b95e15d07e30e0eed7686434f4a22c816fa SHA512 0ba7c48feed4794f677bc7cd1e9d7d92e7c86c3e1c3a4848145d2ca8df4114e2abfc3a84c1a216455c65a1bcee6f18f6ca7529811397c689bf265e02316d1fdd
EBUILD curses-1.4.5.ebuild 750 BLAKE2B 45a0add9338ce95084c9673a3643158d128b2a8ba835f33c0be8796a335ffbee6f006f7167cd558e420d6dcfe219cb3c321d9c3206480d1404a1484f4f646bee SHA512 a953d802df4e0ce80bcbd9275a1bebb0222077c502e94ff7975b46a7cd85fe2b1d4f2324c32eba12cb6a2e9e4a05600209d0de273a779e8fbe3968aa819615fe
+EBUILD curses-1.4.6.ebuild 750 BLAKE2B 45a0add9338ce95084c9673a3643158d128b2a8ba835f33c0be8796a335ffbee6f006f7167cd558e420d6dcfe219cb3c321d9c3206480d1404a1484f4f646bee SHA512 a953d802df4e0ce80bcbd9275a1bebb0222077c502e94ff7975b46a7cd85fe2b1d4f2324c32eba12cb6a2e9e4a05600209d0de273a779e8fbe3968aa819615fe
MISC metadata.xml 338 BLAKE2B abd01018668395bdc0e27d71ccc6341beb96b969dc215cb05760e478e46766948116542416274e0a99284458f2773dd0ab73e6041112f62181efa441d879082b SHA512 d074a3168d313769de5bcb360d0e70bafa37a5c37fd9416ea3d0b9c992648d7e5416c71256d16bdfdf83abf11b77e1fec8069fcbf56bd2c909a9ade07adb219a
diff --git a/dev-ruby/curses/curses-1.4.6.ebuild b/dev-ruby/curses/curses-1.4.6.ebuild
new file mode 100644
index 000000000000..695e0006b304
--- /dev/null
+++ b/dev-ruby/curses/curses-1.4.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/curses/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby binding for curses, ncurses, and PDCurses"
+HOMEPAGE="https://github.com/ruby/curses"
+LICENSE="|| ( Ruby BSD-2 )"
+
+SLOT="1"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+DEPEND+=" sys-libs/ncurses:0"
+RDEPEND+=" sys-libs/ncurses:0"
+
+each_ruby_test() {
+ # No specs so we use the smoketest that upstream use in CI:
+ # https://github.com/ruby/curses/blob/master/.github/workflows/ubuntu.yml#L26
+ ${RUBY} -Ilib:ext/curses:. -r curses -e 'puts Curses::VERSION' || die
+}
diff --git a/dev-ruby/io-event/Manifest b/dev-ruby/io-event/Manifest
index c19771c71c77..2cea633966cc 100644
--- a/dev-ruby/io-event/Manifest
+++ b/dev-ruby/io-event/Manifest
@@ -3,9 +3,11 @@ DIST io-event-1.2.2.tar.gz 35405 BLAKE2B 9fb96c920524db8111b8d3650f2559df71e262f
DIST io-event-1.3.3.tar.gz 46284 BLAKE2B f2d6fe2a1eb3c1d0f26097847b9b0d464fa274d215f620ffa46e7718d89f97a7ff8bb00b145d29763caed527410d0e3040dab313445e11b26b2ef3891d05f604 SHA512 71391822d2664f9c9534cc474b2e9b052d98f44d7c985b768c93ff2956379f2c107094ba4ab9e376bb3820e085f15187f210566229a31ae493334cf4af073bad
DIST io-event-1.4.4.tar.gz 46919 BLAKE2B c66b410c1eb3e1b398b2ff8f1cad103f0d75e680b2b79ba8e0144ebfe0d0ce29de4996c2c758447c665231c07a939e31af5f3fc47725be33733dcfed8afcd12e SHA512 f8c7503d5d924de2847a57e6af0b01cb8c1638f4b3060a3afc58ca7cc3a719d5df2fa7b83252d1d761f4a3dc8da68b759797e1d1cd6168ad16421924ef3ef316
DIST io-event-1.5.1.tar.gz 47618 BLAKE2B 239beebca88dac137ab826df0da9f4c7a0b910a9401e46a542dd73a151009ca6d3b0d94584421a039e693e1f5e3f40e37fa98611ff8f603dc5d4bd30bc0788e3 SHA512 71f343ffdcabde14f1737574e66c198934cdf5c88db0c9dc58106da588a7156d4b36cd2a3bd0552758468bcd78c8ee3ae1d59eb0432f7e66f57e3d9dfe75fa3d
+DIST io-event-1.6.0.tar.gz 50641 BLAKE2B f9af9426e2626f101e7ec45ac601e72b60bcda02ae8cdfe659f2440a0c1b084e8a67501104854a7e896864b5a94c624a27b7e013f03df26b1372a098af2ca3d8 SHA512 92ae37e390718b166eeb0fb5ef148f093d90ab623def9cfc9201086fe332b4139c038309ffab9dfd300b80d079bfeeebe14099a1674678f87a60c540570c3526
EBUILD io-event-1.1.7.ebuild 864 BLAKE2B 037dc38604de903a4042610ba47c7328911e9092e3ca19b0822c2f7e2439d1fa013682efb1cfa34f7e1d8a2b00ee5bfa8afeb2a2694b98418686af56007ea1de SHA512 d3cc42893d9bf4a7aa00564306259bdbea3d5fbc602e8359889d023e31ad8b786595c2dc319755b6b1c2efc802efabd9b67551c1408bb1b754a97f8f9d9d3ef3
EBUILD io-event-1.2.2.ebuild 992 BLAKE2B ba1a508df70f4258e119355786979639d20158160f6636ae430f9b62ec01dbf52d68848df9221d8672475b51a66a994c9aa9fdac5b40d363b58dc48d57c45978 SHA512 3cb74b7e67a94fab22bb4bb8c6298ab4a3c599d782cc803d92c21c65b94754ba878dc5d2f994e493901286858ce10c67a4de450fb4eb2a04952ac1c269b9d7f5
EBUILD io-event-1.3.3.ebuild 983 BLAKE2B 1aa0f8a2ec73822402defb15b19fe21e10ff4fca6aa5c71c993482ca7aacfd18d9fa5a6abf7e60c790ca3be93a4d1f8701224e4f8b6f5782e00520606d6668d8 SHA512 b1062b3c43d9c90d409733ab9fc1f7df421f14e4b99968ce51685eb066087756eae4761e3ba0b59f4a1327a46f916ca874baa1283606f204c8b230258b9b7843
EBUILD io-event-1.4.4.ebuild 990 BLAKE2B 0ed85c57bfd4c5bb8ce3bd6f4bdd0dd1ac2de8985eb44c2ced441ceefc0416ff50c9ccac0158a1adb7c09c4eecf991de3f51d313f948921c0dffe94f56d1137d SHA512 c3034285f5ca0b111afac0b0ae54ef680435a47fbe8b89de82770a6d73cd29150216c766089748b1b4eeb899b699e0645271e8589eb15b02112ba0753279313e
EBUILD io-event-1.5.1.ebuild 990 BLAKE2B 0ed85c57bfd4c5bb8ce3bd6f4bdd0dd1ac2de8985eb44c2ced441ceefc0416ff50c9ccac0158a1adb7c09c4eecf991de3f51d313f948921c0dffe94f56d1137d SHA512 c3034285f5ca0b111afac0b0ae54ef680435a47fbe8b89de82770a6d73cd29150216c766089748b1b4eeb899b699e0645271e8589eb15b02112ba0753279313e
+EBUILD io-event-1.6.0.ebuild 990 BLAKE2B 0ed85c57bfd4c5bb8ce3bd6f4bdd0dd1ac2de8985eb44c2ced441ceefc0416ff50c9ccac0158a1adb7c09c4eecf991de3f51d313f948921c0dffe94f56d1137d SHA512 c3034285f5ca0b111afac0b0ae54ef680435a47fbe8b89de82770a6d73cd29150216c766089748b1b4eeb899b699e0645271e8589eb15b02112ba0753279313e
MISC metadata.xml 453 BLAKE2B 6f734840e504644c7d84ca58d0ac13f4f36a6e3f1d4d7a412871e224199d0efd071bbab9133f5a95ecf64928b4234787172b6d61c9ce085a6cc15c362e60195a SHA512 cc8b195ee59e7927a6cf1d9c1e82c222d697044cc917ebdcb4406ccb6372b3a51f09696b1618559e83b0ba98fbb2a8fd4b2977bb4adb46d437df90d2474648cf
diff --git a/dev-ruby/io-event/io-event-1.6.0.ebuild b/dev-ruby/io-event/io-event-1.6.0.ebuild
new file mode 100644
index 000000000000..54d45037491d
--- /dev/null
+++ b/dev-ruby/io-event/io-event-1.6.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="sus"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An event loop"
+HOMEPAGE="https://github.com/socketry/io-event"
+SRC_URI="https://github.com/socketry/io-event/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+io-uring"
+
+RDEPEND="io-uring? ( sys-libs/liburing:= )"
+DEPEND="${RDEPEND}"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ # Avoid dependency on unpackaged covered package
+ rm -f config/sus.rb || die
+
+ if ! use io-uring ; then
+ sed -i -e "s:have_library('uring'):have_library('idonotexist_uring'):" ext/extconf.rb || die
+ fi
+}
diff --git a/dev-ruby/memo_wise/Manifest b/dev-ruby/memo_wise/Manifest
index 3a29cb0b8fc9..a73c937df707 100644
--- a/dev-ruby/memo_wise/Manifest
+++ b/dev-ruby/memo_wise/Manifest
@@ -1,3 +1,5 @@
DIST memo_wise-1.8.0.tar.gz 186795 BLAKE2B afb1a027c6c981601d51262f13508fb8cd0074f6283bdb953537e300cc4970856765db60a92afa8331139ff98e50ba97529366f9adcd4d1ab93c93f52dcd2e48 SHA512 173dbab6fe93f21ad1ead34f4fbe8b0425747e1f2640472b9a1e4b79b935260cc0163d907d8ec423152d91165f32f2e8f1691dcdbd15830f375473415089ce6e
+DIST memo_wise-1.9.0.tar.gz 187663 BLAKE2B 02028a5f9ceae77702f3e536bbd33e17232ea1f443da70101e87ef0bb449eb387602fe710d20b44ffa39d112aaf8f2f8cd2897ed0e941c56ba8a6792c2f6cd14 SHA512 bdab3eca584c68055e806f825cc9d29c09f3798f0b5bffb634823021dc26227cbb85ae562193f1ed288275583e9939cd0eb4cd611da23d0c0c305bd283eea618
EBUILD memo_wise-1.8.0.ebuild 1010 BLAKE2B f24bfe1859a3b70a1aa3249f3336a05f8c81af87a48d7af36ef1652f124e9c61483ad6513790c36e41aeaf0301a698e700334b90fa25a9c4311d2ccdf1a38e6a SHA512 64847edb3ebedb0a02321631f41d6670d352d789c28639742a9de2fab4731f42609cc61bc7c87e7efaaf8fd3eb104f598a3a1ed93a88365dee367de045c6e4f6
+EBUILD memo_wise-1.9.0.ebuild 1002 BLAKE2B 48020d0d3c4784d5901f41a4b5ecd93952e82f5f6f15561a3bcc5ce2020ff683a98c00405e81d7c5302029ca84a537c7fd62d244dfeb3216bd87e511bb876a8d SHA512 174ba6df585fa9b624c92409035719661a97b8e26dedea22b8c955b1c9d89c0c6131dc5fc50d264a8ce228d0f34322788c89f8a9d6d3c56b7c7a974196561b34
MISC metadata.xml 348 BLAKE2B 4e33571301410e52989d249f0e424cfa24b622cd4ce2a83322932adf1cfcdc78d66057bfcb0763b77ea5727e0f77a20b5e50a6677314682285a5922e2953773b SHA512 658fb8b4243ba73f5c55265ef99a2706462f7d6cf90ec1c048e959fa61520058333b8b57bbb67dce231c52173b8a9a94449096df1751edeae697c962a0412bc3
diff --git a/dev-ruby/memo_wise/memo_wise-1.9.0.ebuild b/dev-ruby/memo_wise/memo_wise-1.9.0.ebuild
new file mode 100644
index 000000000000..1c45be13eb68
--- /dev/null
+++ b/dev-ruby/memo_wise/memo_wise-1.9.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="memo_wise.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The wise choice for Ruby memoization"
+HOMEPAGE="https://github.com/panorama-ed/memo_wise"
+SRC_URI="https://github.com/panorama-ed/memo_wise/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~riscv"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+
+ # Avoid specs for an unmaintained package with old dependencies that is optional.
+ sed -e '/require.*values/ s:^:#:' \
+ -e '/when the class is a Value class/,/^ end/ s:^:#:' \
+ -i spec/memo_wise_spec.rb || die
+
+ sed -e 's:_relative ": "./:' \
+ -e 's/__dir__/"."/' \
+ -e 's/git ls-files -z/find * -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest
index 5bcd5458038b..dd5a45ba4bd2 100644
--- a/dev-ruby/rdoc/Manifest
+++ b/dev-ruby/rdoc/Manifest
@@ -1,7 +1,5 @@
-DIST rdoc-6.5.0.tar.gz 762645 BLAKE2B cecade491f0d18b2c50ec710cb27a28b6cb946f321503e0508e8d4802e93033a78867346eb1d68ca56884ea0d68d51d6fdb92eb61fa63034a01332e8b572dbcf SHA512 10382e66ca778f85f236614fe071b2b0d598065d3aab8f5a89cb0839da7713b5e16a66e3f7a2bff2e2125d26a42f088a86c6d339dc36479a943bb7023c1cad0c
DIST rdoc-6.6.3.1.tar.gz 766103 BLAKE2B 15cef9df763e40e105155d49c6c0c1a449c366ac35ab6036c43773c52114f00b19109b056033366b873b5b3317a3bf11c574dd76094d8f606fa0916a84257d0a SHA512 c6f3aae83e895e2de28e5a7c27456160dd53007ceb4464a045e0211473eb3d51f49a7c2ac28f2e44e807c5b36447140d15eadff65bfa52335e94adc9c8b56d2e
DIST rdoc-6.7.0.tar.gz 767264 BLAKE2B 7bedae692e84e6b0b587dbcc4b8ff59401d5ef012bbfcacdf9d8ac216dd9a0c90b43c8cf61af2584280387ee7eb6c869b0a3205f9fcb4d4e1d98b0f326102a51 SHA512 d53fc591b6c8ead457c0fd04d3d20039fa1820d65d3fee0d8d0c584ce49a9a58f30d5bfd8fe6fd02efed77bcd8fa0c2cde8342430a9be483d17b31055e58570e
-EBUILD rdoc-6.5.0.ebuild 2732 BLAKE2B 254a80d4442f1179852aaed6a98aa7ff488c1f87cc8c37ecde832f4954979091ea17b9b6e9bcc12fb649cb257803e58a5aed549e37664458be9c5672d5a41fc2 SHA512 1d5db6b03b09668ec089ca199cbe0a1b7ded3d7a1bd5e3abd40e2ce67381289f16e88d056eaf8ca2c5d446e714c066d98edc299a84f8bc68b705640ad04f86f6
EBUILD rdoc-6.6.3.1-r1.ebuild 2756 BLAKE2B 3b252bc5fca8a32a78a3b1e1bdff796e4c46f73f4ba6570603656be2e98c987f4586072d770fbf80396c785bf0f39a089e1dfcd087d1351dd8f6d5ab0c50fac8 SHA512 da89ddbee4843fda2683a1e79a9b6d8463a8b87692d1098c7d50965ca66d2a088bdd8e0f1ac941a6dfcb0c82b1944b66bb851d19e32554075d902ab9b0669422
EBUILD rdoc-6.7.0.ebuild 2764 BLAKE2B ca106a67fdd00d48928306dcdab968e8e977766019342b16c3850aeaa8f14a5ca688d20330a9ab1765e0ac83747dc68b125c30117482b8450af13b01ba6e873c SHA512 d2dfcf82e351f0f8e031b7ed105165d0405ddcedb8fd2f38acea24d6c0f89d46523324c6017940c9d5257a60c9fc1fd016ddc6748d2394765dd19aee0bc7822c
MISC metadata.xml 336 BLAKE2B 142894745c624081f44dfccc6509273287120a43ceb8d7471634d92ab970bbc7747ce12b3a770b085c8c55a30f2c52ee34e0f27ba4be804ee2056150fb3b035f SHA512 438973812b1541e96ffd4add9422bd19e2c09f3f5b8ddc3ef86a670827c6bce9ed9c1bf9df0601927c959584b63a9d0986d0377807856ab8301fc8a8176922e1
diff --git a/dev-ruby/rdoc/rdoc-6.5.0.ebuild b/dev-ruby/rdoc/rdoc-6.5.0.ebuild
deleted file mode 100644
index a49d07120345..000000000000
--- a/dev-ruby/rdoc/rdoc-6.5.0.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31 ruby32"
-
-RUBY_FAKEGEM_RECIPE_DOC=""
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc"
-
-RUBY_FAKEGEM_BINWRAP=""
-RUBY_FAKEGEM_BINDIR="exe"
-
-RUBY_FAKEGEM_GEMSPEC="rdoc.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
-HOMEPAGE="https://github.com/ruby/rdoc/"
-SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 Ruby-BSD )"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-SLOT="0"
-IUSE="doc"
-
-RDEPEND+=">=app-eselect/eselect-ruby-20181225"
-
-ruby_add_rdepend "
- >=dev-ruby/psych-4.0.0
-"
-
-ruby_add_bdepend "
- >=dev-ruby/kpeg-1.1.0-r1
- >dev-ruby/racc-1.4.10
- dev-ruby/rake
- test? (
- dev-ruby/bundler
- >=dev-ruby/minitest-5.8:5
- )"
-
-all_ruby_prepare() {
- # Other packages also have use for a nonexistent directory, bug 321059
- sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/rdoc/test_rdoc*.rb || die
-
- # Avoid unneeded dependency on bundler, bug 603696
- sed -i -e '/bundler/ s:^:#:' \
- -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \
- -e '/rubocop\/rake/ s:^:#:' \
- -e '/RuboCop/,/end/ s:^:#:' Rakefile || die
-
- # Skip rubygems tests since the rubygems test case code is no longer installed by rubygems.
- sed -i -e '/^task/ s/, :rubygems_test//' Rakefile || die
-
- # Remove test that is depending on the locale, which we can't garantuee.
- sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
-
- # Remove test depending on FEATURES=userpriv, bug 361959
- sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
-
- sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
-}
-
-all_ruby_compile() {
- all_fakegem_compile
-
- if use doc ; then
- ruby -S exe/rdoc --force-output || die
- rm -f doc/js/*.gz || die
- fi
-}
-
-each_ruby_compile() {
- LANG=C.UTF-8 ${RUBY} -S rake generate || die
-}
-
-all_ruby_install() {
- all_fakegem_install
-
- for bin in rdoc ri; do
- ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
-
- for version in $(ruby_get_use_implementations); do
- version=`echo ${version} | cut -c 5-`
- if use ruby_targets_ruby${version}; then
- ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version}
- sed -i -e "1s/env ruby/ruby${version}/" \
- "${ED}/usr/bin/${bin}${version}" || die
- fi
- done
- done
-}
-
-pkg_postinst() {
- if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then
- eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
- fi
-}