summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin111078 -> 111245 bytes
-rw-r--r--dev-ruby/ostruct/Manifest2
-rw-r--r--dev-ruby/ostruct/ostruct-0.6.1.ebuild28
-rw-r--r--dev-ruby/pluggaloid/Manifest2
-rw-r--r--dev-ruby/pluggaloid/pluggaloid-1.7.0-r1.ebuild5
-rw-r--r--dev-ruby/singleton/Manifest2
-rw-r--r--dev-ruby/singleton/singleton-0.3.0.ebuild30
-rw-r--r--dev-ruby/sus/Manifest2
-rw-r--r--dev-ruby/sus/sus-0.32.0.ebuild31
-rw-r--r--dev-ruby/uri/Manifest3
-rw-r--r--dev-ruby/uri/metadata.xml12
-rw-r--r--dev-ruby/uri/uri-1.0.1.ebuild26
12 files changed, 139 insertions, 4 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index 0b986e1baaed..69912cdbe6eb 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/ostruct/Manifest b/dev-ruby/ostruct/Manifest
index a30dd1112a3a..8099d2671721 100644
--- a/dev-ruby/ostruct/Manifest
+++ b/dev-ruby/ostruct/Manifest
@@ -1,3 +1,5 @@
DIST ostruct-0.6.0.tar.gz 10757 BLAKE2B 68742978efc348d28361716a18a4b9a5e23270e37a104aa3e620d3a751182f22003db467c2424025c831315a2ddb7bf4f9bb4f76b43ab612f64eb56875b55860 SHA512 34afddbc0e881432fcd143669ad182d3ddef7b2245d1429466ff893f8a419482b3fc577eea331d3edfecbe2ac831e9b3b1e5d0baa66de5528fe312afb4e2b087
+DIST ostruct-0.6.1.tar.gz 12181 BLAKE2B df7864c739b4a8beb601e8a8232c07393eb29f519660261f9cccde9a3a0164c6a14eaf3f0c9c9a098cfbafc110ea2ab1ddd19c05de98f1f67c5866eaf3e61cf6 SHA512 34c141dde253bed7b0637b353bc55fd052c708e5e1558e1a348e43e1aa633f0a0c7806231e7e2931b400a43c3dfde533ae5ac3ed20291ff73d1296121e0517b3
EBUILD ostruct-0.6.0.ebuild 864 BLAKE2B 0390aa920bbcede9ab52f5034f88906e402990594df271e99219e2248eb8748799e67abb8338028defe76b05ed15a7ce0af7a6a854db0ab4b2100ea4da9d2499 SHA512 ec86c50e7302e2502a16992b1b267ca2e8af2de13ff4c9fa8f12dd98b988629e6998093462b643583609177964bcea5a596c06bcc5732cfa1c9bf5c0ec402c5a
+EBUILD ostruct-0.6.1.ebuild 864 BLAKE2B 0390aa920bbcede9ab52f5034f88906e402990594df271e99219e2248eb8748799e67abb8338028defe76b05ed15a7ce0af7a6a854db0ab4b2100ea4da9d2499 SHA512 ec86c50e7302e2502a16992b1b267ca2e8af2de13ff4c9fa8f12dd98b988629e6998093462b643583609177964bcea5a596c06bcc5732cfa1c9bf5c0ec402c5a
MISC metadata.xml 339 BLAKE2B 6573df2eaa31c356454c12307d631be72f0d9707484c2a8e1afe20299a898d1051a43ab247d741b7e823a00b40a45f0a3e37db1c1de517d2244a31bd37bd4f9d SHA512 fb012b1191bd6a69907246e11a0e787d6e6e85e1b82a059650086c0ea97877ba1632ab888b9d1a09c9c2ef9578e0808648868ada5f8a2e31df5f233673a402d7
diff --git a/dev-ruby/ostruct/ostruct-0.6.1.ebuild b/dev-ruby/ostruct/ostruct-0.6.1.ebuild
new file mode 100644
index 000000000000..2f08ed1e2061
--- /dev/null
+++ b/dev-ruby/ostruct/ostruct-0.6.1.ebuild
@@ -0,0 +1,28 @@
+# 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="README.md"
+RUBY_FAKEGEM_GEMSPEC="ostruct.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Class to build custom data structures, similar to a Hash"
+HOMEPAGE="https://github.com/ruby/ostruct"
+SRC_URI="https://github.com/ruby/ostruct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_depend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+all_ruby_prepare() {
+ sed -e 's/__FILE__/"ostruct.gemspec"/' \
+ -e 's/__dir__/"."/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
diff --git a/dev-ruby/pluggaloid/Manifest b/dev-ruby/pluggaloid/Manifest
index 46a6ff8db622..507232d58808 100644
--- a/dev-ruby/pluggaloid/Manifest
+++ b/dev-ruby/pluggaloid/Manifest
@@ -1,3 +1,3 @@
DIST pluggaloid-1.7.0.gem 20992 BLAKE2B 8e5dca33d4e724ce264cf94d3494d452dfa6aaa3dc373c50ac7a5e1931358484e984bb0f3e170243d7e3daf10ba6a7e15b1e7b0cc77b6394c2349e6e36e7a77d SHA512 f4ebf9fa60bf29366cafeeab09cd1cddd3c46903757f55a6b0a1326499c1b5e917258eb07a7f95934ab2ff32626dfffc2738c847eb6090725f90dce7ac90c550
-EBUILD pluggaloid-1.7.0-r1.ebuild 536 BLAKE2B 6af294873291e888f3e40c59190031965907cd089310a016073774edf5830aed048a943517e8ffedc1dddc97bce077a65f082b520574e2357adee97af7895b6b SHA512 df9425d758e84658bd822664633f7ddd22cc20a1f6ecbcde47c4ed99a8410b24d3266f4e6e02162addf56377805557aa9d75e123f3c8a74a5b9edba89306f9e5
+EBUILD pluggaloid-1.7.0-r1.ebuild 535 BLAKE2B 0e0fec14c6b737e53f3d6316d71c2c974bfa10c2b0debe6b4c0d12bb762b7ab18b4e4988df86787e9a725937023be87642c70295d072846b340c9cfd5bbc6c67 SHA512 343bfb92ad198401b0c86bb22132aa660c20bb7398d7fe2cfe565b28d5e26a6b1f40a78712c97b866721b01bea506239db33b4e7b3deeff18de9b73982cb7d69
MISC metadata.xml 440 BLAKE2B 466d6202c57da31b67b1ceddfa0cf226d3852cdef5bdb9837db7df217290de69631bbabf837f61e0e377cec6c731be19c3933ec5c7e891e91641973d57f9829d SHA512 f98b847751018553581ef5cae4f8a3f12da35800494bbbab78ff2f10c9e20209374328d7fe8e6a215b07a9f378b9e7838ded64d96e628f80fb035902aa1e66b6
diff --git a/dev-ruby/pluggaloid/pluggaloid-1.7.0-r1.ebuild b/dev-ruby/pluggaloid/pluggaloid-1.7.0-r1.ebuild
index 6195f7a62c4a..a2ac07138186 100644
--- a/dev-ruby/pluggaloid/pluggaloid-1.7.0-r1.ebuild
+++ b/dev-ruby/pluggaloid/pluggaloid-1.7.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -14,7 +14,6 @@ HOMEPAGE="https://rubygems.org/gems/pluggaloid/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
-IUSE=""
ruby_add_rdepend "
>=dev-ruby/delayer-1.1.0:1
diff --git a/dev-ruby/singleton/Manifest b/dev-ruby/singleton/Manifest
index 94c4ca99ff79..a81e260e8d0d 100644
--- a/dev-ruby/singleton/Manifest
+++ b/dev-ruby/singleton/Manifest
@@ -1,3 +1,5 @@
DIST singleton-0.2.0.tar.gz 5179 BLAKE2B 8d0ed2fb38ff8fc8bd5da3969c4e0dcc3c5556b69dfa7faceb9d02d80b69d902418d54b8a313188927938adb1431fa593aaea0249109c34b809c6d3a35ba08b4 SHA512 e6c827f277754fc20722afbf20c67b22fc44095337777e69afa0eff8c88390be86741b244ee35124fc2684fbe048d439dfe96499617ec672275fdd7e64d36e43
+DIST singleton-0.3.0.tar.gz 6955 BLAKE2B 55a499dbb2a8915d9aba0a38ce32146a8ae4475dbe5b446ed036f1bc509bce6ba2d25aa3cadc96c147526adb43545f75dabe010c720a4fadd7dbf63a81af7d6b SHA512 f703ab194b97018cded9ce09877e9d7d8715f4f605c43b66ab92580188784a4740234fec54e28b0e31386f717d1420dc2486458d8ccedbc07f40e61e3f1598d7
EBUILD singleton-0.2.0.ebuild 942 BLAKE2B 20b890d850b29801d5618e8122f73105168fc4dbf6dd3943f2dfc352ab2239f975952e0148f583f476d6b8379e5a1dfe6921cc06cb4267fee25ca7a6b8e21955 SHA512 f30cbf71bb8a5c5b36c1fc5a76fcbc4a2b2dbfdfe47cea3321caa03960afba1abf569453456fc645ab15bc1b6013da6e85f5480aadab438fd4d8392d771ae7ff
+EBUILD singleton-0.3.0.ebuild 941 BLAKE2B 9e31cd945fea3830e472e97f774ae2ea36b6beebad6a474a876c770c56fe9f174e05de5fbc89d5dc4f821a9cbfbdda09b88f9ece223aef200410e968e0664adf SHA512 8e16b7a811e9e417d906406c8914c67c83af22c69dca5e7473042e2ef853a4d0a112fae0986f8066c7b32e170f3bf6c586588fd3fb507a5fff424112ec1af503
MISC metadata.xml 341 BLAKE2B e45d6753c4c9675cbb363078ea6614bcaccab98915bd3dcaaf7215c8ad608eba313c81f3bb90ce05e4b19981c408c44acfb09f1856652bd09bc459fa1c977d9e SHA512 572ab9227b892081aa5b43a60b4cdd50a4ab0953e7e820403836d7c1f61ac011df9506ef3bc036aa32fbdd8752f0693478d02d02a938558b2a46650aa2c1a0f3
diff --git a/dev-ruby/singleton/singleton-0.3.0.ebuild b/dev-ruby/singleton/singleton-0.3.0.ebuild
new file mode 100644
index 000000000000..a840f575de13
--- /dev/null
+++ b/dev-ruby/singleton/singleton-0.3.0.ebuild
@@ -0,0 +1,30 @@
+# 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="README.md"
+RUBY_FAKEGEM_GEMSPEC="singleton.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The Singleton module implements the Singleton pattern"
+HOMEPAGE="https://github.com/ruby/singleton"
+SRC_URI="https://github.com/ruby/singleton/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+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"
+
+all_ruby_prepare() {
+ sed -e 's/__dir__/"."/' \
+ -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
+ -e 's/git ls-files -z/find * -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test:test/lib -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}
diff --git a/dev-ruby/sus/Manifest b/dev-ruby/sus/Manifest
index f5e4e32fc51d..3ff1d8df2f25 100644
--- a/dev-ruby/sus/Manifest
+++ b/dev-ruby/sus/Manifest
@@ -4,10 +4,12 @@ DIST sus-0.27.0.tar.gz 32228 BLAKE2B cc9835b23341ace34f2ded75bbb61a210991691ba50
DIST sus-0.28.0.tar.gz 32860 BLAKE2B 2a41e2f58f19f11b1e4f5ea784b58ccdbe91cd66b678d631e28c91e8e38f23c051158c165eeff9e3d3b6fe79eb7b9987083f2cee26be35588488de5109dc950f SHA512 4200b66f546f06fdd476237a853feb482e8a4e1de54b55fba8e979d4b5cbd97460e4acda8cf44b94ef259f550f22db349772ab3e9bcc712a9f4978648fa618b4
DIST sus-0.29.1.tar.gz 147367 BLAKE2B 7ff8f5c360bc022a6bf6eb0c1aeebd0310c0dd55114e954f8cbccc967843825f996880d22a4db93bb38a13d1bc862094a40f2760a4123fcf67348f622969139f SHA512 8b5dd6f1c376326042fbe7f0e3bca56ea96465d4f372dd50e4a641533fd381383182413cf4692cf410f636052c5ecc1eedd01c43f6043c1fd8d01c9403dd5e49
DIST sus-0.31.0.tar.gz 265282 BLAKE2B c0f400d02ddb9b34f67d6ae0f05d6ff77e46279244fb5fbaa3cf281f4714c647ce39c5d1661bec9eb7e0b1ca5a2d1105cf7b4c05d142e5e682a8e65ef56f56b5 SHA512 c526fe70e5ae6e421a153ec6fc4111832b0256e2336fb0969829a053052d847f600a95968353184529f2c93691a482a900c352ab16d219f4ef12aa1657bc7c8e
+DIST sus-0.32.0.tar.gz 265441 BLAKE2B 6768b488218432d311eb60d53460efb4636ce9052c00c6ba323cd1de79c4274046b3c78cc069a34d10b6aa02aec31515e06a76ad4d3a4424bf86e4abd3111983 SHA512 6dde8cce0e835625fca567b6295413d780559e4480da8cf3c45a0fc39e7e4fc050aec64cf2b30d08c36a98aa28f1c34d033c4adfc7c0a5b9bb7a10dac374dd45
EBUILD sus-0.23.0.ebuild 826 BLAKE2B 7d0144dedead9f5e32f95dcd65ef4744197e11e24e41a715e72ea4914634fb61fb6e8adfac34c559244002474373bcce2dbc94bc939b53769bb482c21be1f76a SHA512 f472c659a0095382e614fdb75e664d0b5b909017c46f9870b75092e892995abbb0688b0c1ccb4139134f0885c28be994c585904fe4fb543fd145551d3774723e
EBUILD sus-0.25.0.ebuild 827 BLAKE2B e76436d84309d4f14aa57ff8c0ca4f812b2a3b2d820774215a64b55563e2679ed4a33cdff9deacc8bec47d7987e77db4e3b9fbb8f54083b59fba44a8a02008c8 SHA512 0958989f1c919cb40ef4b4760cb38dd8cb9c6d8277ee05073a71cbd8467efbe002e4812e6b6b6064f13af43b12af9424993df60eeb74674ffcdab76b0cd45059
EBUILD sus-0.27.0.ebuild 827 BLAKE2B e76436d84309d4f14aa57ff8c0ca4f812b2a3b2d820774215a64b55563e2679ed4a33cdff9deacc8bec47d7987e77db4e3b9fbb8f54083b59fba44a8a02008c8 SHA512 0958989f1c919cb40ef4b4760cb38dd8cb9c6d8277ee05073a71cbd8467efbe002e4812e6b6b6064f13af43b12af9424993df60eeb74674ffcdab76b0cd45059
EBUILD sus-0.28.0.ebuild 827 BLAKE2B e76436d84309d4f14aa57ff8c0ca4f812b2a3b2d820774215a64b55563e2679ed4a33cdff9deacc8bec47d7987e77db4e3b9fbb8f54083b59fba44a8a02008c8 SHA512 0958989f1c919cb40ef4b4760cb38dd8cb9c6d8277ee05073a71cbd8467efbe002e4812e6b6b6064f13af43b12af9424993df60eeb74674ffcdab76b0cd45059
EBUILD sus-0.29.1.ebuild 823 BLAKE2B 9dfbee90b25a616cc84a3afc519c88a3a3c2c75492a62f3dd86650ee355e4f63412cef0c8229b3b6e087154145081ba2917a7e41a81803b9ddc00d6c39c5eed5 SHA512 f2db77a69e1410893fe8ae1d5f6c40850280d40d06471ac89edadb0222cb4fcd3f10a0b7b0bec1de1b408c5e79b7d02659752c37c5402b277742cd025def590b
EBUILD sus-0.31.0.ebuild 825 BLAKE2B 59654919c4145413a9d09b3dcccfe959f05d794f1fc5434ae8e2c268a9415131622b12bbad149b7a02a69948fd52734818f69a96b1135e0eaaa51db1dbf43ae0 SHA512 c660b1ec68df3a3a4121066cd617d2fb704e78ea5f5c7fae7ff3844936335b0d31eebc0aed6dc77a6dcc01deb57b37cb96409316c9a924a55bfab0f47bd16955
+EBUILD sus-0.32.0.ebuild 827 BLAKE2B cb218c5e1c7d922c51220e237458b804d5c4ba70bd51c9fd48d9f67e348cffb1ac399ae1960082f7abcbbb69d12da7cdbd3c4328629196e3262fac7fdb96c796 SHA512 6e7365229a50682cfcf917ec5977334cb90155441407a6f340bff528e1ea5a22a96db2ffa43d89deca436ba1aee06bd61688b135ed040a4b91c237333369fc10
MISC metadata.xml 339 BLAKE2B 2a9770e06863a711d6b674cd3fc1717780f963cb453ac47b40d66b4c2be11b8f8f33a7d29a55b722a6ad3804fc040a9da8a75fbfff4e8502361598615c8b5d7e SHA512 8794c7b034efedd7d87104487081b4cc7001cfde0a5314dc78a3712aa27d6bb98785c8254d2172baf76077a61a2509044c4094ab71dc624e813b19adc5449818
diff --git a/dev-ruby/sus/sus-0.32.0.ebuild b/dev-ruby/sus/sus-0.32.0.ebuild
new file mode 100644
index 000000000000..ae64681acce9
--- /dev/null
+++ b/dev-ruby/sus/sus-0.32.0.ebuild
@@ -0,0 +1,31 @@
+# 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_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A fast and scalable test runner"
+HOMEPAGE="https://github.com/socketry/sus"
+SRC_URI="https://github.com/socketry/sus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ # Remove the sus configuration which enabled coverage checks.
+ # Its dependency is not packaged.
+ rm -f config/sus.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} bin/sus-parallel || die
+}
diff --git a/dev-ruby/uri/Manifest b/dev-ruby/uri/Manifest
new file mode 100644
index 000000000000..80ea339f164e
--- /dev/null
+++ b/dev-ruby/uri/Manifest
@@ -0,0 +1,3 @@
+DIST uri-1.0.1.tar.gz 48128 BLAKE2B 469a6905673cb18d5011fcc03d6570f775b5f97ee7a17dae08480cc0d46fe852ae2a5b2fecfdc1a711f97f2321af602377efb712c71a39b7ebf5a570b7867fdb SHA512 4ea0c09a26177cb37852d4f54fb833ff39245581a1a1148ecb0ec9449b17d484ae50ac964b0379a7b668e1dd924dc1c79016f512a86fb6a0731b14d0db287c2c
+EBUILD uri-1.0.1.ebuild 834 BLAKE2B 3b3f5847f8292363cf7d2a15fe92307e62717abce9a00571038c3ada89b5272d1036d974b07936e5cc595bb8bea597189b42aff4a289a800f4217f192378de75 SHA512 6d7e21e56a38fa6638e54bdb7af0a69cca6206f34f8a93ea3c1e953918a2f5789d1eb1bfc4d7a1b75e4363e9a45a1e1cf8968f22de5c38f84e3f086d26638619
+MISC metadata.xml 382 BLAKE2B e8a9bfe3a7f4c938eb51b6289567e1ddf47219796b67b66672d31620cd549c539582565c2f33605666d7c4528ee58dd7cbc0f7afde34bc7b21aceede0599d0c5 SHA512 d11128cf5381f0638dd894150b433db3eb9c32ec4dea93780cd9e22b4f9425e6b05ee656d8a916ddf4b2b3d34a298836cf58e13b505f984657bdbda2f09784e7
diff --git a/dev-ruby/uri/metadata.xml b/dev-ruby/uri/metadata.xml
new file mode 100644
index 000000000000..392733af41ab
--- /dev/null
+++ b/dev-ruby/uri/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ruby/uri</remote-id>
+ <remote-id type="rubygems">uri</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/uri/uri-1.0.1.ebuild b/dev-ruby/uri/uri-1.0.1.ebuild
new file mode 100644
index 000000000000..69b5e09990c3
--- /dev/null
+++ b/dev-ruby/uri/uri-1.0.1.ebuild
@@ -0,0 +1,26 @@
+# 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="README.md"
+RUBY_FAKEGEM_GEMSPEC="uri.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="URI is a module providing classes to handle Uniform Resource Identifiers"
+HOMEPAGE="https://github.com/ruby/uri"
+SRC_URI="https://github.com/ruby/uri/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1)"
+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"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+all_ruby_prepare() {
+ sed -e 's:_relative ": "./:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}