summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin111068 -> 111067 bytes
-rw-r--r--dev-ruby/json/Manifest2
-rw-r--r--dev-ruby/json/json-2.9.0.ebuild51
-rw-r--r--dev-ruby/net-http-persistent/Manifest2
-rw-r--r--dev-ruby/net-http-persistent/net-http-persistent-4.0.5.ebuild33
-rw-r--r--dev-ruby/ruby-gettext/Manifest2
-rw-r--r--dev-ruby/ruby-gettext/ruby-gettext-3.5.0.ebuild71
7 files changed, 161 insertions, 0 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index 6989d2195a66..34e9f55dc2f5 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest
index 7455b2e47bc8..6743cde1b4cd 100644
--- a/dev-ruby/json/Manifest
+++ b/dev-ruby/json/Manifest
@@ -3,9 +3,11 @@ DIST json-2.7.5.tar.gz 826340 BLAKE2B 6078a6496d6b8503e40cdb176516b4a1ad487c1a35
DIST json-2.7.6.tar.gz 827356 BLAKE2B f2768102750dbd3e05410bf406a259efbc539feb18afc1684ad13f2c8fc2ac58e20ba0b722c0a411de7b04dc14be4fc0a9441901f28d442450e5c5f25aa42141 SHA512 d1f9c6c36a3c7ae8adb7f3900c0d8b5ca43a398837bc7eb6c8e915c1039f65fd575a863343e2af1887101439c88b074545f588bfb19cd11c629493b1a50689fc
DIST json-2.8.1.tar.gz 841139 BLAKE2B 6a8ba6fb714cb3de6183262101f507cdac4fb8f69c98b4af7a3a5c182dcf0ef1c26d3d7b5c628279345d1a691757f08c967883904695728c6c2aed93c3d60555 SHA512 2b51bf38e6322295d575a992b008b97cdfaa87de95929167cc472cb2a48b71752dc5a83114b7ee5aaf8cb4c9079d44d072f16149badfa07c4c1baa495cc72c53
DIST json-2.8.2.tar.gz 841421 BLAKE2B 286416fd14642a3044df0d382a10ae7dcff211b30e15303c4461decc961f80169b26f9ad6a2b8524d76f65058e773afe7c39654a166d263a4208d8649fe3a134 SHA512 d33f9abbe548c18f572c038261526c61bc5c5c70b5bc4f864f479dff41435aabdc0d30e190cf934ad71680b21aca1cbdd1cf379ad807a97459722c7d67f1de69
+DIST json-2.9.0.tar.gz 841887 BLAKE2B 28ff3a69a55b0f862f18985213ae7c09021914451b8b6a3cb217334d6f3e0d7d6c52a5eea13cc0c1931adc2a12a2aa715741ce621fef0bb3c66ac12440d8dc5f SHA512 64534f0889f1874a8893259e065ea0f3669028a9722ceeb5e7454236d509d5df817b251e94c57b9c3ad04e6ec5ab94e63aa93596d996c8c37b5fd75fb50fc22e
EBUILD json-2.7.2-r1.ebuild 1513 BLAKE2B 1a513f8abdbab09e9774fa51888041a2459adca566ab709806620d4fbe8795bc68ae28c6bc68ca7d5b286cf88cfd59e36a8f7617ae1247f248913218e150e8e7 SHA512 fc8c5b438b3098352e8d099bcaa1ff495d45e23f77603ae5e1b1bc95a0954dfaede47f05bb5da48b2e0179351336792d994c995a839831f6c943aeb3fab0f5c1
EBUILD json-2.7.5.ebuild 1610 BLAKE2B 69e919e240e6f2ff9c2f91f25dbb8a41c5ae8b74ea662c40c8ab6bf03a3cd21e4461a1aedaf41da446d3fc31c1be378c50ee24b9fa2fdf90d969b7835d8d224f SHA512 7eea66fec4867581b88e33022be2534d5aa2794527fe6bf2268a025a224a4d62cd8422da0ea11a6ceff52b0c9b6e18d804649dd273720aa6d067792bfa71d7a8
EBUILD json-2.7.6.ebuild 1522 BLAKE2B a7daf622b11d40011ef1155e803d307ed336b91f99e6efd12f79093032eae30e69c6ebddf0bb264fe0278153554f23f2f066cf6935adab2183a44565b3dd432c SHA512 b8ca40cba5c60da6a6389ebc7da058c432f1ce2b4a07807604aad69e32f4fd82121bf9045e4f02f1a903338c8697894a1e9940345dd3aa51aa1252df04f9aaef
EBUILD json-2.8.1.ebuild 1522 BLAKE2B a7daf622b11d40011ef1155e803d307ed336b91f99e6efd12f79093032eae30e69c6ebddf0bb264fe0278153554f23f2f066cf6935adab2183a44565b3dd432c SHA512 b8ca40cba5c60da6a6389ebc7da058c432f1ce2b4a07807604aad69e32f4fd82121bf9045e4f02f1a903338c8697894a1e9940345dd3aa51aa1252df04f9aaef
EBUILD json-2.8.2.ebuild 1522 BLAKE2B a7daf622b11d40011ef1155e803d307ed336b91f99e6efd12f79093032eae30e69c6ebddf0bb264fe0278153554f23f2f066cf6935adab2183a44565b3dd432c SHA512 b8ca40cba5c60da6a6389ebc7da058c432f1ce2b4a07807604aad69e32f4fd82121bf9045e4f02f1a903338c8697894a1e9940345dd3aa51aa1252df04f9aaef
+EBUILD json-2.9.0.ebuild 1522 BLAKE2B a7daf622b11d40011ef1155e803d307ed336b91f99e6efd12f79093032eae30e69c6ebddf0bb264fe0278153554f23f2f066cf6935adab2183a44565b3dd432c SHA512 b8ca40cba5c60da6a6389ebc7da058c432f1ce2b4a07807604aad69e32f4fd82121bf9045e4f02f1a903338c8697894a1e9940345dd3aa51aa1252df04f9aaef
MISC metadata.xml 384 BLAKE2B 6be81a5f361a533321e25f8fc8444201e318416f9164fc02ffa34e9471fd1da8f1bcab39e8f5bc5945948665769bb67caac0bf8e826e3213bd592e4191e1a788 SHA512 82119cb0bf902f6d3924f8a13db0ae3c5e7881c5d7848790e2614e3d2d2951321519c0bdc6cb942010186e5e1013c102cad328c389cfa2c54d96533bca7ea886
diff --git a/dev-ruby/json/json-2.9.0.ebuild b/dev-ruby/json/json-2.9.0.ebuild
new file mode 100644
index 000000000000..fcb2a51b4bd1
--- /dev/null
+++ b/dev-ruby/json/json-2.9.0.ebuild
@@ -0,0 +1,51 @@
+# 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="CHANGES.md README.md"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_GEMSPEC="json.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext
+
+inherit ruby-fakegem
+
+DESCRIPTION="A JSON implementation as a Ruby extension"
+HOMEPAGE="https://github.com/ruby/json"
+SRC_URI="https://github.com/ruby/json/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="|| ( BSD-2 Ruby )"
+
+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"
+IUSE="doc test"
+
+DEPEND="dev-util/ragel"
+
+ruby_add_bdepend "dev-ruby/rake
+ doc? ( dev-ruby/rdoc )
+ test? (
+ dev-ruby/test-unit:2
+ dev-ruby/test-unit-ruby-core
+ )"
+
+all_ruby_prepare() {
+ # Avoid building the extension twice!
+ # And use rdoc instead of sdoc which we don't have packaged
+ # And don't call git to list files. We're using the pregenerated spec anyway.
+ sed -i \
+ -e '/task :test/ s|:compile,||' \
+ -e 's| => :clean||' \
+ -e 's|sdoc|rdoc|' \
+ -e 's|`git ls-files`|""|' \
+ Rakefile || die "rakefile fix failed"
+
+ sed -e 's/__dir__/"."/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid setting gem since it will not be available yet when installing
+ sed -i -e '/gem/ s:^:#:' test/json/test_helper.rb || die
+}
diff --git a/dev-ruby/net-http-persistent/Manifest b/dev-ruby/net-http-persistent/Manifest
index 376cbd5cca1f..a15d6d1d6941 100644
--- a/dev-ruby/net-http-persistent/Manifest
+++ b/dev-ruby/net-http-persistent/Manifest
@@ -1,5 +1,7 @@
DIST net-http-persistent-4.0.2.tar.gz 23779 BLAKE2B 7ea0140ed9baf97f05f13816ddd836cc874a1861a0ca4d84d98fd8d5665163e96d74c6eef602088a12577addda8fad5c2194c7f679c59917255979c5618c1c8d SHA512 4ef028245092a15f5e017ed6f2723cb82a2ed1fdbcb55217e5807068a40601151c29f929c95ffb5bdaae12fe34dca6658e674e282be42e7b0909c0ff2ea984fd
DIST net-http-persistent-4.0.4.tar.gz 24093 BLAKE2B 9470b3638dd5c4fcf5af93c7341c73e10c7e70a4a86e20e6f425a3449fcb0b5950adb4579cb12926e64556f03eaf3c3aaf3969694dd8bbc82d6d9dc59077c4a7 SHA512 43e51d6803d381af6a203508484c7bd39356d277818541fd192c0c539d4ec9e2088414b199f99b174def59e1818b9bf34d1d205d4137c9529fc7409d6813a986
+DIST net-http-persistent-4.0.5.tar.gz 24367 BLAKE2B 724f72ed14198493c1b044157cb233010bab470be6915998eb19c32ced5f701e86f2534fefea088d3f46ea0acd4b07c1c5e3b8e6d191a006a97d012a4b6adca7 SHA512 79aea45a34631935de65d21db2b7f8832f60a107e70d40cd6d52b4a0fe5c4790222c8aa673b677b4c9a5c58e5d1718c95c81a33866b35c390d49d41854361d05
EBUILD net-http-persistent-4.0.2.ebuild 1091 BLAKE2B eb8f0c9283be2729bcc15630bc95f666f337e8128f9e988b74ebe1bd970c9d2a67e5563f3ff47aaaa00c6113be5a3f09b897e6403c12168bf5ef431656b355d4 SHA512 9800d731071b75152be570805e11f92fd5f80b4291305d89315d212898792983610fee9e3df3dee1d9152621e0066f9fe6e6e22aec535f110bb9ddfdfad0fef0
EBUILD net-http-persistent-4.0.4.ebuild 1091 BLAKE2B 10a8647e556e53436cb709766f207c1717db91d71fba4bd44188c8cc1b45f3523f2ec3b8c212e47cc57e346da841b5dd923e3cde8523b3410ed32dd8deba7bdf SHA512 49ab894fdd8b848538b1ad163d1677a1669ef1cfde022cf4a23a5fb7df50d884a0379776ff9cbff58eb3156b72202b5fc425484bf249c03e24df919c194033d3
+EBUILD net-http-persistent-4.0.5.ebuild 1093 BLAKE2B 5d7a9bdcd3ee6cc8cdb98bb6427e6084ed0ce0fb2fc0bab279cf37a320ccf029298cb787fca700f113e02e0e241ec26fce60b2932d908ee35e2e6e4cbc2a0475 SHA512 715854701282b85123e47dcf0f7e33d3c00478ec53ecebb29e2ed641cc2cb41c5853cf26f058072d436d215684eef545b33058ac94c1aeb6ee5a26c79daa1bd7
MISC metadata.xml 354 BLAKE2B 003bf0e8c6c7665a205d4dc3c58aa7982877e0d3dcad6706d16cea61a2b53381cb10f4bfdc8a482a8d10c7a1279dc42e542f283dd880e8c258eb7e066eebeca8 SHA512 71adf8afebb39564bd527c758e35f048af6066f4e75db8e1a4b8921af94bdd3f017bf9dd092ecf38ed79de63940dd9f0b89020687092db4a919de5d7dc493ccd
diff --git a/dev-ruby/net-http-persistent/net-http-persistent-4.0.5.ebuild b/dev-ruby/net-http-persistent/net-http-persistent-4.0.5.ebuild
new file mode 100644
index 000000000000..cdc184338ddc
--- /dev/null
+++ b/dev-ruby/net-http-persistent/net-http-persistent-4.0.5.ebuild
@@ -0,0 +1,33 @@
+# 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="History.txt README.rdoc"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8"
+HOMEPAGE="https://github.com/drbrain/net-http-persistent"
+SRC_URI="https://github.com/drbrain/net-http-persistent/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc test"
+
+ruby_add_rdepend ">=dev-ruby/connection_pool-2.2:0"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ # Not relevant for us (we're just using rake for the tests)
+ sed -i -e '/require "rake\/manifest"/,/^end/ s:^:#:' Rakefile || die
+
+ # avoid test with implicit dependency on net-http-pipeline which
+ # fails and is not tested upstream
+ sed -i -e '/net-http-pipeline not installed/ s/unless.*$//' test/test_net_http_persistent.rb || die
+}
diff --git a/dev-ruby/ruby-gettext/Manifest b/dev-ruby/ruby-gettext/Manifest
index 83c94ed47335..ae2fa39a3b7a 100644
--- a/dev-ruby/ruby-gettext/Manifest
+++ b/dev-ruby/ruby-gettext/Manifest
@@ -1,3 +1,5 @@
DIST gettext-3.4.9.gem 234496 BLAKE2B bc1fd26ae048a959df1291cbe6bc5ce4fe060dc66baff2e3a9030dfbbc937e6e2aef5586259cfb1ef0f6eb5e2924badd6db579f7d268ae4bb079d06248655e87 SHA512 756fc65210ccc88c06ed07da699e88aca865b0b3b2b2b92824d3e17062a1008d9d561f1572d0795478bfe7ad542e3aaf8c65ee2f80fed1ead202638bd32dc77a
+DIST gettext-3.5.0.gem 234496 BLAKE2B 9e86fd351585b115e04bad485a056fa8341450fd705901bc8ed6ba8309e99cc2096a79a3f506f729fa1823007c806557609ae8653f3de1988b0bb88bb3dde832 SHA512 15f3683b710cf9240a6ecd2babf5d7f64ac3eb1461f29d4df3d9ad7afa07467fc81f261989bbc9a0bf73f28e79b626282432b1e9c11923a489d023383089266e
EBUILD ruby-gettext-3.4.9.ebuild 1639 BLAKE2B c5e19238d3e35912263c248d030838213be6d6b165f78790c25622b16ff2b351ee0f89280d0e7f2d8878e03879039efca8a1aad1d3bc81c650824e5604b910c3 SHA512 ee05e00bf2898af1e278be33b696b9c7a9dba7f6b4370bdf54fcfd73caf9d93f47266459338094d9562080373c89fd6e53e18b7e42322332b88fbf034244792f
+EBUILD ruby-gettext-3.5.0.ebuild 1646 BLAKE2B eed7a4e7641c1583574c518269129335fbe522a46ef8ca0cb7d14fa7cf1e627b6551e2faebdbedac3aa5df14c5d0d1752b5ce19b8deaca88fbce13dde0edb7a8 SHA512 b0948c57d98ec7a9494e437ce709031915bdfcf231b4e3c0e2a964270bc4c090cc2ef536f29df5e753d7cfa3a3444a297b2954b01121c303386ec80351d7064d
MISC metadata.xml 330 BLAKE2B 240cd8ccd772b34535a5a8c79c30dbee969d061a6d70f388c89bcaac95a01ccb65be239f68314fb0f5aed655978f87be7eb34756633a7f42794077bb45e271e5 SHA512 8657b613372f01a686fe9861ac6285e79b1b90fc8d948f7631094f686a72a61df87df7dbeaabe41fda96a39cd5b013468532a494555e9cc787cf653c2dca1fbd
diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.5.0.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.5.0.ebuild
new file mode 100644
index 000000000000..bbad73a28c11
--- /dev/null
+++ b/dev-ruby/ruby-gettext/ruby-gettext-3.5.0.ebuild
@@ -0,0 +1,71 @@
+# 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_NAME="${PN/ruby-/}"
+RUBY_FAKEGEM_VERSION="${PV%_*}"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md"
+
+RUBY_FAKEGEM_TASK_TEST="none"
+
+RUBY_FAKEGEM_EXTRAINSTALL="locale po"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package"
+HOMEPAGE="https://ruby-gettext.github.io/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+LICENSE="|| ( GPL-2 Ruby-BSD LGPL-3+ )"
+SLOT="0"
+IUSE="doc test"
+
+ruby_add_rdepend "
+ dev-ruby/erubi
+ >=dev-ruby/locale-2.0.5
+ dev-ruby/prime
+ dev-ruby/racc
+ >=dev-ruby/text-1.3.0
+"
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )
+ dev-ruby/racc"
+ruby_add_bdepend "test? (
+ dev-ruby/test-unit:2
+ dev-ruby/test-unit-rr )"
+
+RDEPEND+=" sys-devel/gettext"
+DEPEND+=" sys-devel/gettext"
+
+all_ruby_prepare() {
+ # Fix broken racc invocation
+ sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die
+
+ # Avoid bundler dependency
+ sed -i -e '/bundler/,/helper.install/ s:^:#:' \
+ -e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die
+
+ # Avoid dependency on developer-specific tools.
+ sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
+}
+
+each_ruby_test() {
+ # Borrowed from Fedora
+ local -x LANG=C.UTF-8
+ local -x LANGUAGE=ja_JP.utf8
+
+ # Upstream tries to daisy-chain rake calls but they fail badly
+ # with our setup, so run it manually.
+ ${RUBY} test/run-test.rb || die "tests failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ dodoc -r samples
+}