diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 105485 -> 105487 bytes | |||
-rw-r--r-- | dev-ruby/forwardable-extended/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-ruby/hashie/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/hashie/hashie-4.1.0-r1.ebuild | 44 | ||||
-rw-r--r-- | dev-ruby/pathutil/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/pathutil/files/pathutil-0.16.2-ruby30.patch | 2 | ||||
-rw-r--r-- | dev-ruby/pathutil/files/pathutil-0.16.2-ruby31.patch | 247 | ||||
-rw-r--r-- | dev-ruby/pathutil/pathutil-0.16.2-r2.ebuild | 35 | ||||
-rw-r--r-- | dev-ruby/rdoc/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rdoc/rdoc-6.3.3-r1.ebuild | 94 | ||||
-rw-r--r-- | dev-ruby/rubygems/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-3.2.33.ebuild | 110 |
13 files changed, 290 insertions, 258 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 7e184938da7d..0205c2db6197 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/forwardable-extended/Manifest b/dev-ruby/forwardable-extended/Manifest index 6a81726c271b..c8a1a164cd9f 100644 --- a/dev-ruby/forwardable-extended/Manifest +++ b/dev-ruby/forwardable-extended/Manifest @@ -1,3 +1,3 @@ DIST forwardable-extended-2.6.0.tar.gz 6602 BLAKE2B 2ad027f671bb308a02de8b0620df9b9dfdf49d08e9f6fcc6bc60becc57e3e7d184d131a2acb689d08dec26c4ec004f5791b4630ab653f974a0accdbb5f46331c SHA512 23a682e06ee823b076d6b9925a1ef4ada4f1fc7fa63b02d1b9122485204b62f55c191866170b63b34891934c762ac903df46bf5a2b17055d7504ee7a70627a8b -EBUILD forwardable-extended-2.6.0-r2.ebuild 726 BLAKE2B bf179f9b54d595c119907bdc374ce42ca95d73289e0bb1beb39567f3f6c150c6b3ba1a0549fc5083f380e738a9041285ee6cefaea8ed729983817fa5e647bb36 SHA512 f45d9a0e36e93eb94c3e295ec4d37b1f08c4e72db89d60b6413ac87e562efb2ff1915c797d96dec84ac74148e45f17435417dbcef1ff847336d5456ddf498901 +EBUILD forwardable-extended-2.6.0-r2.ebuild 719 BLAKE2B 9bf9196f5793c5df3aec5066d0cd746876ac25c501541c9e87ad1acfb53af80ce387a27d44e06ca92715505ae2f3376d75df7c5d115ec04099474b0f25e57b49 SHA512 7ab01184a4627bbe2c156855620b17d3834428e304afa79024f6a9098d7ff95b8ab1074b6e8cde5f486dbec33ec533206c11768a05a6504ef4a73d56bd79cbf3 MISC metadata.xml 421 BLAKE2B b4c9e87b0e207ae10e0a948be511dca9e391a12d8c0040f17052d458bce237626bfc6cf154498d0cfa303450244fd4ff578d2be6afb33ba6f3c80c3e2dab7d9d SHA512 dfb262a2f8a709339cfaf90c2accaf4e1097e4c1786f005e3513a67cffd21883d9ac79f1dbaf2958cf3938bbbb970668c690c155e2041bae6d575ef671f2c213 diff --git a/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild b/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild index d17d2b52e61b..fb97c7c909a4 100644 --- a/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild +++ b/dev-ruby/forwardable-extended/forwardable-extended-2.6.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/hashie/Manifest b/dev-ruby/hashie/Manifest index 37c5e8b244f6..62eb33aeff60 100644 --- a/dev-ruby/hashie/Manifest +++ b/dev-ruby/hashie/Manifest @@ -1,5 +1,3 @@ -DIST hashie-4.1.0.tar.gz 86972 BLAKE2B 33979037db67f8a7f20ae85e3db6e8b5415b9b2659a5961e2c2a97e3197fef1500cedd8557af314baf8395a9790e8a457633ecade944c198c295f7f13847afa5 SHA512 f2a36ee812e39d679390647514ff894d4170b61ece6d37ef42f1203212d80d2dee63b4af162d81ded451a53c058746f26fc16810db4c748cce9ca6635a300a4b DIST hashie-5.0.0.tar.gz 105224 BLAKE2B f15fd3ecd5dcdf88ea97d4aa5e13d984bbfb4dc54a687b4f166d9d84f07ddc0037f4fe251a4ec4950a5b89aaf4f0e43d11467018d63e3a89ae980ec06caf3dd6 SHA512 fc1f9399895f67af77af7b2d1d993eebd221d2b779781625bf1bbee579547580add7d7d0dbf1791564c8df6764c19617721ae5139ca949c81a316beacfe8c806 -EBUILD hashie-4.1.0-r1.ebuild 1369 BLAKE2B 435de1e258b5f82d71393a14b20d7ee0937b628a01262cebe95c6279ecada7c300c4b06fe8e154021b69de8086eed1e76be6233db952c3d93d14fb841bac4ff4 SHA512 eb9b27747f136915308d3e4321ee75c30e9e092f3a40e891acf484eef45076c83711bae177cc5d4c5f5bef1e1560b815025798e370f675399daa85dd1f877db0 EBUILD hashie-5.0.0.ebuild 1376 BLAKE2B 1cbd1a6b0a940b682206db8997ba26c831f143b23285d0bf254bb9d77652c91c16389688d04d8043029e58ab10e5967e374a92b24b2c0f0005b8283a6c2b1e7a SHA512 ebb7389eea4759d1b2180afcc1d02c95b3dad79b5bbcf629882a2f10d5a37644536fa8de95aed1d2dced7c9704a9b31c55e5fab2d593e50f01ae4489363011bd MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 diff --git a/dev-ruby/hashie/hashie-4.1.0-r1.ebuild b/dev-ruby/hashie/hashie-4.1.0-r1.ebuild deleted file mode 100644 index efb81d6965ee..000000000000 --- a/dev-ruby/hashie/hashie-4.1.0-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_GEMSPEC="hashie.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful" -HOMEPAGE="https://www.mobomo.com/2009/11/hashie-the-hash-toolkit/" -SRC_URI="https://github.com/intridea/hashie/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/activesupport )" - -all_ruby_prepare() { - # Remove bundler and fix one spec that depends on its requires - #rm Gemfile || die - sed -i -e '/[Bb]undler/d' Rakefile || die - sed -e '/pry/ s:^:#:' \ - -e '1irequire "pathname"; require "tempfile"; require "json"' -i spec/spec_helper.rb || die - - # Avoid dependency on rspec-pending_for and its dependencies - sed -i -e '/pending_for/ s:^:#:' \ - spec/spec_helper.rb \ - spec/hashie/mash_spec.rb \ - spec/hashie/extensions/strict_key_access_spec.rb || die - - # Avoid integration specs to avoid complicated dependencies - rm spec/integration/{elasticsearch,omniauth*,rails}/integration_spec.rb || die -} diff --git a/dev-ruby/pathutil/Manifest b/dev-ruby/pathutil/Manifest index 2bd35f6343ce..38d3a85b3e55 100644 --- a/dev-ruby/pathutil/Manifest +++ b/dev-ruby/pathutil/Manifest @@ -1,4 +1,6 @@ -AUX pathutil-0.16.2-ruby30.patch 5578 BLAKE2B eb42f2c3ec294b25d86312966c39613fbd0ca646b6eb3e933b0f849bf9f9a2dbea80b340c62d1342abbd10e2598a60d48c102e2f12e49dba24c21d7eaec72f5c SHA512 cc9f7f94b5a830c6f377e5414da317492caf6b5bd89ee8c414753c09c427b2a87852ce8767effacfd0af2ca260c8b05e322e7772b7cc786c4f4531bcf8107cc2 +AUX pathutil-0.16.2-ruby30.patch 5624 BLAKE2B 329be93957be0ad11ac971a5155c3a64b7592ce9dd068d99612d11b26ab7d572770e035f5a72638e5074e304472c6d11e18a39727215eaa47ceec0f14dd723ef SHA512 99e0428661c1d9d76f028e1a802139bcc49949aa405cbd0187827bba87885c3629ccb95f271778377dca8cf71fc9fb897066d5754e39db5334a4cf01b4e63073 +AUX pathutil-0.16.2-ruby31.patch 6916 BLAKE2B 25a13ce3e9466fc911f7c8c7080e3cfd12977475320e15c610bedf50a68b343289b0310d77ecafcaa245edb53c3dbbb79aa194db6dcff5b356215af14b700260 SHA512 976e9be734964fd5fabd1eb309ded5619408f2039796fdd29b0c9030e819d847094c99cff7233eade8689f35001438240feb5eb41901a4d528d38e32f0a20314 DIST pathutil-0.16.2.tar.gz 26079 BLAKE2B 5a9d1dac1f1171ee6bc447725c04883cb56a9071927f3e0fdbcb9754345ac77a6609533a1308a411cb22658caeb2a4bed49225923af109bca288cfb3aeb3d669 SHA512 d06daf365b94dacd33966f3928a53f0f00d2fca7b9f6348a7efd2b55ab5ba937459e5bd78fde241f30749a1ae55e4ae3ba1ed8945b5333464e7d3ce9666cd054 EBUILD pathutil-0.16.2-r1.ebuild 955 BLAKE2B 02b346d9ebc67e43fbc05e23bc16b18d9b4724a60c718e6e166ac888cb626804d72c3579214f1b5b681c1a548c4318df250f3fb0901c749c89293999d0a6a792 SHA512 e3ffca48a818a20238f37a48aea17e06cfe012318fb064cbdad0be26e95ff0e725c0a127215c1a64fa3c4d1fc8377c97aaf8b88e9cbe925025d15f6d58a032ca +EBUILD pathutil-0.16.2-r2.ebuild 933 BLAKE2B 8703227d4963ba4eec4f525efc869f355676b1bb44cbf8cd1b2dd85482a256942be1e1ced3b072458b35c7e5695289bd6728e5b48c56b68c8d5ba7c6c764ac4f SHA512 ef0c0640021f7b98b016b06ca367562bce424df0b1c5097bce14062799bb22f7d85198e202e705fa0723fee552dede8bb06edf581fe8b2134881f11083e59175 MISC metadata.xml 397 BLAKE2B 3f14fd5aaeb2954c6d714e28bf89c6cae920c80c130de454d453a61b81598a673200ed6ce07035be2769bf5f3f36eb926540f0ff7236b5da65cd021b508f104b SHA512 58d97f4464d9603f6c3dddd30c5258cccb03a4d0784ba8f268710d977d49437a677c9b9596485656762e5e2ef4694ca2b1f4018fefb9e84066c3296d73cfb18d diff --git a/dev-ruby/pathutil/files/pathutil-0.16.2-ruby30.patch b/dev-ruby/pathutil/files/pathutil-0.16.2-ruby30.patch index 374cd4005930..9bb290d4bf24 100644 --- a/dev-ruby/pathutil/files/pathutil-0.16.2-ruby30.patch +++ b/dev-ruby/pathutil/files/pathutil-0.16.2-ruby30.patch @@ -1,3 +1,5 @@ +https://github.com/envygeeks/pathutil/pull/5 + From 3451a10c362fc867b20c7e471a551b31c40a0246 Mon Sep 17 00:00:00 2001 From: Tom Dunlap <tom@motevets.com> Date: Tue, 9 Jun 2020 12:59:32 -0400 diff --git a/dev-ruby/pathutil/files/pathutil-0.16.2-ruby31.patch b/dev-ruby/pathutil/files/pathutil-0.16.2-ruby31.patch new file mode 100644 index 000000000000..0bfc4c5919b5 --- /dev/null +++ b/dev-ruby/pathutil/files/pathutil-0.16.2-ruby31.patch @@ -0,0 +1,247 @@ +https://github.com/envygeeks/pathutil/pull/7 + +From c0ecc9a516ed43facfb3a80735034c892d517d1a Mon Sep 17 00:00:00 2001 +From: Jakub Jirutka <jakub@jirutka.cz> +Date: Sun, 3 Apr 2022 20:20:44 +0200 +Subject: [PATCH 1/2] Fix usage of YAML.safe_load for compatibility with Ruby + >=2.4 + +YAML.safe_load in Ruby 3.1.1 doesn't accept deprecated positional parameters anymore: + + 1) Pathutil::Helpers#load_yaml should be able to parse YAML + Failure/Error: + YAML.safe_load( + data, + whitelist_classes, + whitelist_symbols, + aliases + ) + + ArgumentError: + wrong number of arguments (given 4, expected 1) + # ./lib/pathutil/helpers.rb:44:in `load_yaml' + # ./spec/tests/lib/pathutil/helpers_spec.rb:25:in `block (3 levels) in <top (required)>' + +From 868efe4022f944cef81b05ae01e00fab2d51ee5c Mon Sep 17 00:00:00 2001 +From: Jakub Jirutka <jakub@jirutka.cz> +Date: Sun, 3 Apr 2022 20:35:50 +0200 +Subject: [PATCH 2/2] Remove deprecated SafeYAML support + +SafeYAML has been deprecated a very long time ago. +--- a/Gemfile ++++ b/Gemfile +@@ -7,7 +7,6 @@ gem "rake", :require => false + gemspec + + group :test do +- gem "safe_yaml", :require => false + gem "luna-rspec-formatters", :require => false + gem "simplecov", :require => false + end +--- a/README.md ++++ b/README.md +@@ -26,7 +26,7 @@ but only if they originate from the given root. + - `>=`, `>` - Check if a file is in but ahead of a path: `Pathutil.new("/tmp/hello") > "/tmp" # => true` + - `in_path?` - Check if a file is within a given path: `Pathutil.new("/tmp/hello").in_path?("/tmp") # => true` + - `<=`, `<` - Check if a file is in but below a path: `Pathutil.new("/tmp") < "/tmp/hello" # => true` +-- `read_yaml` - a wrapper around `Yaml.safe_load` and `SafeYAML` to make reading `YAML` easy. ++- `read_yaml` - a wrapper around `Yaml.safe_load` to make reading `YAML` easy. + - `children` - behaves like Pathname, except it accepts a block to work on the path. + - `safe_copy` - Copy files, disallowing symlinks unless `in_path?` + - `enforce_root` - Force a root if not already in that root. +--- a/benchmark/yaml.rb ++++ /dev/null +@@ -1,16 +0,0 @@ +-# Frozen-string-literal: true +-# Copyright: 2015 - 2017 Jordon Bedwell - MIT License +-# Encoding: utf-8 +- +-require "bundler/setup" +-require "safe_yaml/load" +-require "benchmark/ips" +-require "pathutil" +- +-data = "hello: world\nworld: hello" +-Benchmark.ips :quiet => true do |x| +- x.json! "benchmark.json" +- x.report("A:SafeYAML.load") { SafeYAML.load(data) } +- x.report("B:Pathutil::Helpers.load_yaml") { Pathutil::Helpers.load_yaml(data) } +- x.compare! +-end +--- a/lib/pathutil/helpers.rb ++++ b/lib/pathutil/helpers.rb +@@ -20,7 +20,7 @@ class Pathutil + end + + # -- +- # Wraps around YAML and SafeYAML to provide alternatives to Rubies. ++ # Wraps around YAMLto provide alternatives to Rubies. + # @note We default aliases to yes so we can detect if you explicit true. + # @return Hash + # -- +@@ -34,20 +34,12 @@ class Pathutil + ) + end + +- if !YAML.respond_to?(:safe_load) +- setup_safe_yaml whitelist_classes, aliases +- SafeYAML.load( +- data +- ) +- +- else +- YAML.safe_load( +- data, +- whitelist_classes, +- whitelist_symbols, +- aliases +- ) +- end ++ YAML.safe_load( ++ data, ++ permitted_classes: whitelist_classes, ++ permitted_symbols: whitelist_symbols, ++ aliases: aliases ++ ) + end + + # -- +@@ -109,21 +101,5 @@ class Pathutil + prefix, ext || "" + ] + end +- +- # -- +- # Wrap around, cleanup, deprecate and use SafeYAML. +- # rubocop:enable Style/ParallelAssignment +- # -- +- private +- def setup_safe_yaml(whitelist_classes, aliases) +- warn "WARN: SafeYAML does not support disabling of aliases." if aliases && aliases != :yes +- warn "WARN: SafeYAML will be removed when Ruby 2.0 goes EOL." +- require "safe_yaml/load" +- +- SafeYAML.restore_defaults! +- whitelist_classes.map(&SafeYAML.method( +- :whitelist_class! +- )) +- end + end + end +--- a/spec/tests/lib/pathutil/helpers_spec.rb ++++ b/spec/tests/lib/pathutil/helpers_spec.rb +@@ -26,113 +26,10 @@ describe Pathutil::Helpers do + "hello" => "world" + }) + end ++ end + + # + +- context "when safe" do +- it "should reject any special classes", :disable => :oldest_ruby do +- expect { described_class.load_yaml(":hello: :world") }.to raise_error( +- Psych::DisallowedClass +- ) +- end +- +- # +- +- context "when using SafeYAML" do +- before do +- allow(YAML).to receive(:respond_to?).with(:safe_load).and_return(false) +- expect_any_instance_of(described_class).to receive(:warn).and_return( +- nil +- ) +- end +- +- # +- +- context do +- it "should warn it's deprecated" do +- expect(described_class).to receive(:warn).and_return( +- nil +- ) +- end +- +- # +- +- after do +- described_class.load_yaml( +- ":hello: :world" +- ) +- end +- end +- +- # +- +- context "when trying to disable aliases" do +- it "should warn that you cannot disable them in SafeYAML" do +- expect(described_class).to receive(:warn).exactly(2).times.and_return( +- nil +- ) +- end +- +- # +- +- after do +- described_class.load_yaml("hello: world", aliases: true) +- end +- end +- +- # +- +- it "should parse with SafeYAML" do +- expect(described_class.load_yaml(":hello: :world")).to eq({ +- ":hello" => ":world" +- }) +- end +- end +- end +- +- # +- +- context "when whitelisting classes" do +- it "should allow that class to be loaded" do +- expect(described_class.load_yaml(":hello: :world", :whitelist_classes => [Symbol])).to eq({ +- :hello => :world +- }) +- end +- end +- +- # +- +- context "when diallowing aliases" do +- it "should throw the parse" do +- yaml = "version: &version 1\nother_version: *version" +- expect { described_class.load_yaml(yaml, :aliases => false) }.to raise_error( +- Psych::BadAlias +- ) +- end +- end +- +- # +- +- context do +- it "should allow aliases by default" do +- expect(described_class.load_yaml("version: &version 1\nother_version: *version")).to eq({ +- "version" => 1, "other_version" => 1 +- }) +- end +- end +- +- # +- +- context do +- it "should parse YAML" do +- expect(described_class.load_yaml("hello: world\nworld: hello")).to eq({ +- "hello" => "world", +- "world" => "hello" +- }) +- end +- end +- end +- + # + + describe ".make_tmpname" do diff --git a/dev-ruby/pathutil/pathutil-0.16.2-r2.ebuild b/dev-ruby/pathutil/pathutil-0.16.2-r2.ebuild new file mode 100644 index 000000000000..296caa499f17 --- /dev/null +++ b/dev-ruby/pathutil/pathutil-0.16.2-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_GEMSPEC="Gem.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Like Pathname but a little less insane" +HOMEPAGE="https://rubygems.org/gems/pathutil https://github.com/envygeeks/pathutil" +SRC_URI="https://github.com/envygeeks/pathutil/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +ruby_add_rdepend " + >=dev-ruby/forwardable-extended-2.6 + <dev-ruby/forwardable-extended-3 +" + +PATCHES=( + "${FILESDIR}/${P}-ruby30.patch" + "${FILESDIR}/${P}-ruby31.patch" +) + +all_ruby_prepare() { + sed -i -e '/\(coverage\|luna\|rspec\/helpers\)/ s:^:#:' \ + -e '1irequire "pathname"; require "tempfile"; require "tmpdir"; require "json" ; gem "psych", "~> 5.0"' \ + spec/rspec/helper.rb || die + rm -f spec/support/coverage.rb || die +} diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest index 08302c6b73be..d52fd175df46 100644 --- a/dev-ruby/rdoc/Manifest +++ b/dev-ruby/rdoc/Manifest @@ -1,7 +1,5 @@ -DIST rdoc-6.3.3.tar.gz 675961 BLAKE2B 200d57c4b104cb3ba894ef56fd72b4f6b2228dc2c5fd7a53035a7e03834e0e9aa283ee2b07dc7dbbfaf123bc9d96ef302f47a24b71a6d735872960ecd65d9cb3 SHA512 e4e4083fea67184c435b59866fc8e8c29c740d716f8be279d18a625c1eadddd41d449de30ddcc3af1aa0507320c0910800d5a0032540b626c5b2ea83d3b123f2 DIST rdoc-6.4.0.tar.gz 755741 BLAKE2B d2519dc0dac3fac32ef7cac8c87dba1a679f0b09dc5858e91899d6d28195cf584fe3eba802bafad400ae26c5ddcb65eaec32e101f9e047f80cecd1616a386ed3 SHA512 6c6a89245ac77abdeedee70327f97f8a9b8bb596c14848a95487ff19039864dd7a5c0f5b501fe2e7b187c671cfb205c1500359c7c203beb89211addaf3ac34f7 DIST rdoc-6.5.0.tar.gz 762645 BLAKE2B cecade491f0d18b2c50ec710cb27a28b6cb946f321503e0508e8d4802e93033a78867346eb1d68ca56884ea0d68d51d6fdb92eb61fa63034a01332e8b572dbcf SHA512 10382e66ca778f85f236614fe071b2b0d598065d3aab8f5a89cb0839da7713b5e16a66e3f7a2bff2e2125d26a42f088a86c6d339dc36479a943bb7023c1cad0c -EBUILD rdoc-6.3.3-r1.ebuild 2637 BLAKE2B e54ff54d5ed67e6f082e2be66fc2cf3b406b60be54e465f184257a7520feb533292393157c0e25150e4cf18bfabf09a2f96ff43ae3733af0b6f1a8680eb62075 SHA512 e4458f2f2e7911e8bf5ef70f9041c15922e7046ce5cf375bdb05e35ebc9f284f3ce2b8a9e6899fea33646670b4c30382bf3d5a99b678db90135ddcc0496aac9c EBUILD rdoc-6.4.0.ebuild 2697 BLAKE2B f9b35a125df8033e62de26b10a71eff097eddac0699ed30536ba449db26016741a86185e40dd797f7a63e73dbf721d9fda1a3de2f69520df86409e1529eb7dfa SHA512 e6a6980a961a72811424146f4f995241745ab5c0ff4bd3cea59b41909ebaa0362da1532fb5370398ab0ddedd9e7b51b27c5920ac39ce7b7f165eee926a0dadb5 EBUILD rdoc-6.5.0.ebuild 2740 BLAKE2B fb4a1ec676d8e57f2b028f16fc107e75442bf395794b8d7f18d21fff79e107425fed1101f05b7bbd82056564b44476b51fbd10c59289f48b3eb18749f30e73a3 SHA512 37fdab8f9b80acaefb11723de27acc6e5720e453edc9b55e240c4982dec84a9847919643f5c757e2149b9823616065b318c5917f75de93a903d517125fc46b8b MISC metadata.xml 336 BLAKE2B 142894745c624081f44dfccc6509273287120a43ceb8d7471634d92ab970bbc7747ce12b3a770b085c8c55a30f2c52ee34e0f27ba4be804ee2056150fb3b035f SHA512 438973812b1541e96ffd4add9422bd19e2c09f3f5b8ddc3ef86a670827c6bce9ed9c1bf9df0601927c959584b63a9d0986d0377807856ab8301fc8a8176922e1 diff --git a/dev-ruby/rdoc/rdoc-6.3.3-r1.ebuild b/dev-ruby/rdoc/rdoc-6.3.3-r1.ebuild deleted file mode 100644 index f4d12f10a2cb..000000000000 --- a/dev-ruby/rdoc/rdoc-6.3.3-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" - -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 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="0" -IUSE="doc" - -RDEPEND+=">=app-eselect/eselect-ruby-20181225" - -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 -Ilib -S exe/rdoc || die - rm -f doc/js/*.gz || die - fi -} - -each_ruby_compile() { - ${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 -} diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index 8ac481d4b4ae..3299ab1ca7cc 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -4,12 +4,10 @@ AUX conf.d-gem_server 81 BLAKE2B 2019f1b5085a824e1a9e0551a8b224391b1db777f15aea7 AUX gentoo-defaults-4.rb 1907 BLAKE2B 6e41d5534d47ef7bad5ae798fff81dd8ab928ef97f771150d7d6198e7d10fd5ec8625c044a77a8549d7ebf0947a4578e8cd860b5362f3a8c7352495a14928857 SHA512 86b25f61689044496dbf41424664e0109714abc212a536a75e20146617c55176b9a77edcc2c633de30ecacaf0f48c8f7820007bed1dd2d4c31e004f545fdfb2b AUX gentoo-defaults-5.rb 1400 BLAKE2B a5dfe38bcb4b366a24e1e03e0bd50a684e29a36fcffb307e478c694056afae9a02a78d9c98b7b48787e0b9a5a214b8a7c7562c6ad86fd4d0dd45acc3bd4c4eab SHA512 1fb092262d3dbfe8f7a05980e6b2a313db0d0283f0842638ad261fe99e168369e49c19a5fff34f49f30b2933d6d5b7147c5c86bad559a1e1d4ec1e7e38d7329b AUX init.d-gem_server2 505 BLAKE2B ea5807a1c8ffdaa61bf37315c71d910bbf2bf4b0b4c62e3cef3b76176e9cc1fc39272f59bd46e55e17427f730315e2c691fa3f471c1cbf697073c45c0c7589a2 SHA512 fc2c57f4deebf479a36e69c3507f109abeda9f73b22bb2e617f56e6be0069af075fa6d66708d7324922f3d8bfaa96bd8c71292d9e388e27217cc7687ab4004e1 -DIST rubygems-3.2.33.tar.gz 12131881 BLAKE2B 6ec9321d808df2ee1bbde7f9889471bb7dbadb719872577a9f04863ccf7c314f6b9e2edb178efa8b1996070112673163efb2cf7501d289cecbddd134770dcb12 SHA512 dcabbbbc57031ffa3ca04227a631323559ea99cb0b26e082b3bc51dd4f9b34b996903c7701932aa303192c0483a9e1c66661424233937d1d406773b4279263a4 DIST rubygems-3.3.26.tar.gz 12995476 BLAKE2B c06400d263f64ee988781b49628eebde2b78b5c3cdf3796fe5e1ce5891cb0b41b5e50313293afc72c9b278ab00415b91a862f4245107c63e8eedb9904a5d33e2 SHA512 5aad9f6f0f7187d7d3f2a77ceb50b4b293290dc2e83fb55654c8fdf8e222568d40ef0c64d603ae2ff0db39e7a39ee89ec3c48bb102d434637145863881851086 DIST rubygems-3.4.1.tar.gz 12999634 BLAKE2B 019364e3abd3b12f2a37b08a8d32546cd002c47653a4cdd4e06d8605010dcfcbf3f82f2d375c6bd51a8f1b462b624cefb85932c075b965d5038c26d6079de261 SHA512 2183f7d6ab914c47c02b53cafa6f39845986e4b38713d320402b98f0f0926dbbd957ef11c00b4fbe8f6c9985a1a5d9f551b2df9d47f00c389026e373dbd6f6ed DIST rubygems-3.4.3.tar.gz 15002575 BLAKE2B be8dfb7233754e0ef9147eab1c64d363c38de5a6c296087a193b801c9fa1a12d2a21d7b3b01360f53a30caa6815b3bcdf3d14ecd19ac19dfd2e88115526b5a97 SHA512 7f3907b6ab8f001bd856c2b25b71c5ec32b21b2b5fa16ba369e3108c44698712ac3f5ace430554a4b15dc0adef2d87fa41bffa03dcd01f524fe8bbd80de9807b DIST rubygems-3.4.6.tar.gz 15011157 BLAKE2B a06178a1d5dbd8231493dce9d075451062edaa6b4affee6892d60c727e30ef4b7ff7933baf4ae49fedaa684f9898325ed1313648dac318bd62e9c733de374926 SHA512 d1c23b534f2254ff4dec564098f7eba83462eb9348da59a84de01fc4053ef3be02b2852af4542447de89a36d835f68634606040672d2a2f987c5670b9f373fe9 -EBUILD rubygems-3.2.33.ebuild 3260 BLAKE2B ba4f04e596f48af6b7a5ded2d16f786bab6c7cc57e4dd8797af1b5e9de10d9b50a455df00c110e016fac30596dcd84a76d1d93352a589234edccde70c1c5d15c SHA512 5c1aaa5d7af3217862aac492bf79113bbd6a970c70720766eada43b480f6483690173bc3099934fbcbee33a0374279c94946fa198bc4ad4760add149b73ccf69 EBUILD rubygems-3.3.26.ebuild 3398 BLAKE2B 4f24f1d10d22c56199c80976d17b3863c492df0dc9d9504015c680fcc60e01ddf9bb1d41a0debe7a9c092e15351b5b4acb7c3a3768337621f581e6906faa048a SHA512 75ff92f2448834fd246956efcd50708252eabe3d0dc14e15b891e8622b9a902b5e7bdbf69d76a052b974dd6757e38693d6abcb6a402bc03d35a5a1616256db64 EBUILD rubygems-3.4.1.ebuild 3406 BLAKE2B 990a85be42eddaee7d1f22c68224d8304cb7550bfea311fd085777a6875dda3af4355d207a5b89aa06416f922a085f2ef654025cf56bf300ac5de1f59b48a892 SHA512 2ab1bddf701eb4bdd1e81fcf604139b959f287968c11342031d14908653ae5515ea51bec67672e0dce88ca9ae9ab3a9bfb2080fe1da1f1e9f4c4e4d4f6c30455 EBUILD rubygems-3.4.3.ebuild 3406 BLAKE2B 990a85be42eddaee7d1f22c68224d8304cb7550bfea311fd085777a6875dda3af4355d207a5b89aa06416f922a085f2ef654025cf56bf300ac5de1f59b48a892 SHA512 2ab1bddf701eb4bdd1e81fcf604139b959f287968c11342031d14908653ae5515ea51bec67672e0dce88ca9ae9ab3a9bfb2080fe1da1f1e9f4c4e4d4f6c30455 diff --git a/dev-ruby/rubygems/rubygems-3.2.33.ebuild b/dev-ruby/rubygems/rubygems-3.2.33.ebuild deleted file mode 100644 index 4c3802f19939..000000000000 --- a/dev-ruby/rubygems/rubygems-3.2.33.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby26 ruby27 ruby30" - -inherit ruby-ng prefix - -DESCRIPTION="Centralized Ruby extension management system" -HOMEPAGE="https://rubygems.org/" -LICENSE="|| ( Ruby MIT )" - -SRC_URI="https://github.com/rubygems/rubygems/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="0" -IUSE="server test" -RESTRICT="!test? ( test )" - -PDEPEND="server? ( =dev-ruby/builder-3* )" - -ruby_add_depend "virtual/ruby-ssl" - -ruby_add_bdepend " - test? ( - dev-ruby/json - dev-ruby/minitest:5 - dev-ruby/rake - dev-ruby/rdoc - dev-ruby/webrick - )" - -all_ruby_prepare() { - # Remove unpackaged automatiek from Rakefile which stops it from working - sed -i -e '/automatiek/ s:^:#:' -e '/Automatiek/,/^end/ s:^:#:' Rakefile || die - - mkdir -p lib/rubygems/defaults || die - cp "${FILESDIR}/gentoo-defaults-5.rb" lib/rubygems/defaults/operating_system.rb || die - - eprefixify lib/rubygems/defaults/operating_system.rb - - # Disable broken tests when changing default values: - sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die - sed -i -e '/test_initialize_\(path_with_defaults\|regexp_path_separator\)/aomit "gentoo"' test/rubygems/test_gem_path_support.rb || die - # Avoid test that won't work as json is also installed as plain ruby code - sed -i -e '/test_realworld_\(\|upgraded_\)default_gem/aomit "gentoo"' test/rubygems/test_require.rb || die - - # Avoid test that requires additional utility scripts - rm -f test/test_changelog_generator.rb || die - - # Update manifest after changing files to avoid a test failure - if use test; then - rake update_manifest || die - fi -} - -each_ruby_compile() { - # Not really a build but... - sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem -} - -each_ruby_test() { - # Unset RUBYOPT to avoid interferences, bug #158455 et. al. - #unset RUBYOPT - - if [[ "${EUID}" -ne "0" ]]; then - RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ - -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" - else - ewarn "The userpriv feature must be enabled to run tests, bug 408951." - eerror "Testsuite will not be run." - fi -} - -each_ruby_install() { - # Unset RUBYOPT to avoid interferences, bug #158455 et. al. - unset RUBYOPT - export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" - - pushd lib &>/dev/null - doruby -r * - popd &>/dev/null - - local sld=$(ruby_rbconfig_value 'sitelibdir') - insinto "${sld#${EPREFIX}}" # bug #320813 - newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb - - newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') -} - -all_ruby_install() { - dodoc CHANGELOG.md README.md - - if use server; then - newinitd "${FILESDIR}/init.d-gem_server2" gem_server - newconfd "${FILESDIR}/conf.d-gem_server" gem_server - fi -} - -pkg_postinst() { - if [[ ! -n $(readlink "${ROOT}"/usr/bin/gem) ]] ; then - eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) - fi - - ewarn - ewarn "To switch between available Ruby profiles, execute as root:" - ewarn "\teselect ruby set ruby(30|31|...)" - ewarn -} |