diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-23 18:14:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-23 18:14:17 +0000 |
| commit | 8e146d363570cb4e9e36fd0d39db04eefbb531b3 (patch) | |
| tree | 57b2f66c5c413b86e93885468e942dcf0ca62d9a /dev-ruby | |
| parent | 87f36aaf3366c9564cd36289415d414144a76a74 (diff) | |
| download | baldeagleos-repo-8e146d363570cb4e9e36fd0d39db04eefbb531b3.tar.gz baldeagleos-repo-8e146d363570cb4e9e36fd0d39db04eefbb531b3.tar.xz baldeagleos-repo-8e146d363570cb4e9e36fd0d39db04eefbb531b3.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby')
22 files changed, 396 insertions, 301 deletions
diff --git a/dev-ruby/bcrypt-ruby/Manifest b/dev-ruby/bcrypt-ruby/Manifest index cbe98e8e1461..28864d57a3eb 100644 --- a/dev-ruby/bcrypt-ruby/Manifest +++ b/dev-ruby/bcrypt-ruby/Manifest @@ -1 +1,2 @@ DIST bcrypt-3.1.18.gem 55808 BLAKE2B 03e4082f451b8410ae88c1d920625cf3249094ba2d6fc04429d5f9cd60d7e29fa1c3170e2409ba16fa8fd8c341c7471047a382ee89cb2b04dab9bbdaadc3554a SHA512 b0b44f49ac2ef7a6a75a8949943291b7d37fc80be6a4dbbbcbbf117feaa4ff09b0670c14879c358fc2dadd22866cad6e26d07cfdcbb9423d0c52a6f54ae3f8f5 +DIST bcrypt-3.1.19.gem 55296 BLAKE2B 8187a84381f9654ee271b0019dcbc0d0487b2efde384673be6838c7d019e8bebcdefd18e1d82b51e5518eeccebe673646582aaf0f9ce776db86b9d552e645330 SHA512 b34e48db1222f1c36a31afbd8a68dc87fb99431d90ec0932705999a04146886139c3654d8a9b615221dfe7048b8b0cc642a8f9819700bfa079e847d70483badf diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.19.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.19.ebuild new file mode 100644 index 000000000000..e26d2ac23bb8 --- /dev/null +++ b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.19.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +RUBY_FAKEGEM_NAME="bcrypt" + +RUBY_FAKEGEM_EXTENSIONS=(ext/mri/extconf.rb) + +inherit ruby-fakegem + +DESCRIPTION="An easy way to keep your users' passwords secure" +HOMEPAGE="https://github.com/bcrypt-ruby/bcrypt-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e 's/git ls-files/find */' bcrypt.gemspec || die +} diff --git a/dev-ruby/colorize/Manifest b/dev-ruby/colorize/Manifest index 82bb534cc2fb..4eb434fcd1e8 100644 --- a/dev-ruby/colorize/Manifest +++ b/dev-ruby/colorize/Manifest @@ -1,3 +1,4 @@ DIST colorize-0.8.1.gem 15872 BLAKE2B fe8e3a3e010d55954fb9e3e26626202e1d3eba5478e27009fc86bd4029c98fe5a2ed2f2b0d5d1615e892435554272a70c1cbfcdadadea8bcaab894cb290e7992 SHA512 0819dfaa94150c85cbe633c77006f2f4bdd6c4f9bf9dfa954b8c4038b8a680c99a2b4b160da05bf426402d287a0db4c4eb1cc66a949405188b632f39da381c72 DIST colorize-1.0.1.gem 17920 BLAKE2B 850fe181d1f6c9d10cc0c5ebe65913ed2cdc6bfa9a50d7d5377f273927c4b3a5c4e9567473f08c96d92d7b96ab8809836b513a8acefe449be4c187c0b9bbf250 SHA512 c9ccfafc2bee79ec7b908fe73b20831bebf2de8e96d2c1e654eb2441c2e507bd8ded08797f5f34779e0af1eb56ac3659f61c6e091403a3246d1f72cf7a2e0a70 DIST colorize-1.0.3.gem 17920 BLAKE2B 33864dd5967685ceda163d379063a190ea031a35d5ebb99dc90b54ef7f6c0f95a7b3fd13a73f702c843dc6691095831b777d8572f46da7f897ef01b99fe61c88 SHA512 854bffcadd27ff8a5a52b627125dbfc15f56d4714d28a1e0d64c8d95181d9013ce1ee2f3635cd0b765b3d3cf1688844478a51c2518fac516b3e4e2630a8fc07a +DIST colorize-1.0.5.gem 17920 BLAKE2B 332b430510de5e85e69bf2a96cba81f53db49aab00bf9cef82a98e49654707ce4dcb4956a637c9b529df2a16ce3ed155dc4f6cb596aad9558c5409507763ead3 SHA512 b0edad3771928ae8ca91ef5a0f44adfb026f894a254a7422ea33439d8bf301f3ce98d5d03eb5ed3a95e5d750e7c7bded1f5767042639dce816934146dad00d51 diff --git a/dev-ruby/colorize/colorize-1.0.5.ebuild b/dev-ruby/colorize/colorize-1.0.5.ebuild new file mode 100644 index 000000000000..8da55ad96550 --- /dev/null +++ b/dev-ruby/colorize/colorize-1.0.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Adds methods to set color, background color and text effect on console easier" +HOMEPAGE="https://github.com/fazibear/colorize" +LICENSE="GPL-2+" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e "/[Cc]ode[Cc]limate/d" test/test_colorize.rb || die +} + +each_ruby_test() { + cd test || die + ${RUBY} test_colorize.rb || die +} 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 9bd35bf39336..282a1267ae15 100644 --- a/dev-ruby/hashie/Manifest +++ b/dev-ruby/hashie/Manifest @@ -1,2 +1 @@ -DIST hashie-4.1.0.tar.gz 86972 BLAKE2B 33979037db67f8a7f20ae85e3db6e8b5415b9b2659a5961e2c2a97e3197fef1500cedd8557af314baf8395a9790e8a457633ecade944c198c295f7f13847afa5 SHA512 f2a36ee812e39d679390647514ff894d4170b61ece6d37ef42f1203212d80d2dee63b4af162d81ded451a53c058746f26fc16810db4c748cce9ca6635a300a4b DIST hashie-5.0.0.tar.gz 105224 BLAKE2B f15fd3ecd5dcdf88ea97d4aa5e13d984bbfb4dc54a687b4f166d9d84f07ddc0037f4fe251a4ec4950a5b89aaf4f0e43d11467018d63e3a89ae980ec06caf3dd6 SHA512 fc1f9399895f67af77af7b2d1d993eebd221d2b779781625bf1bbee579547580add7d7d0dbf1791564c8df6764c19617721ae5139ca949c81a316beacfe8c806 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/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/polyglot/metadata.xml b/dev-ruby/polyglot/metadata.xml index a92007794a83..827b2084005d 100644 --- a/dev-ruby/polyglot/metadata.xml +++ b/dev-ruby/polyglot/metadata.xml @@ -9,7 +9,7 @@ Polyglot provides support for fully-custom DSLs by providing a registry of file types that can be loaded by its improved version of 'require', using a custom loader for each file type. - </longdescription> + </longdescription> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-ruby/polyglot/polyglot-0.3.5-r1.ebuild b/dev-ruby/polyglot/polyglot-0.3.5-r1.ebuild index 5858bdb00b38..d280bbd80eec 100644 --- a/dev-ruby/polyglot/polyglot-0.3.5-r1.ebuild +++ b/dev-ruby/polyglot/polyglot-0.3.5-r1.ebuild @@ -1,8 +1,8 @@ -# 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="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_TASK_TEST="" @@ -11,7 +11,7 @@ RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" inherit ruby-fakegem DESCRIPTION="Polyglot provides support for fully-custom DSLs" -HOMEPAGE="https://rubygems.org/gems/polyglot" +HOMEPAGE="https://github.com/cjheath/polyglot" LICENSE="MIT" KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest index 827e5688d9ea..1a55d159b41a 100644 --- a/dev-ruby/rdoc/Manifest +++ b/dev-ruby/rdoc/Manifest @@ -1,3 +1,2 @@ -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 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 eebb4e0cc96e..ccd556d09e87 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -1,4 +1,3 @@ -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 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 -} diff --git a/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r3.ebuild b/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r3.ebuild index 62b86fcffde6..b02cdad03356 100644 --- a/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r3.ebuild +++ b/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r3.ebuild @@ -1,8 +1,8 @@ -# 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="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="none" diff --git a/dev-ruby/treetop/Manifest b/dev-ruby/treetop/Manifest index 345caf6bd02f..1ea51b14530c 100644 --- a/dev-ruby/treetop/Manifest +++ b/dev-ruby/treetop/Manifest @@ -1,2 +1 @@ -DIST treetop-1.6.11.tar.gz 103827 BLAKE2B ccc73373f2e44a95b872ae9f2f32f090363b218eb139d65a4e72c5595d99d5cc3ea7071527f0954aa6b63bc8d5562b0e932ecadec3de962269b3031d1f449b6c SHA512 649310b5c69bb963fc04a597d7aad6bb45deec34c3a46a193ee16203a07aff1d221732b6c7343d68fc772be44522db5f445a45e64bee5ac385ac2eb70abde14a DIST treetop-1.6.12.tar.gz 104225 BLAKE2B c0748409d20231d075f7461ecc7b96922a100922a4db75265fd7f687d2212c020d24fbd3011459b48b8f786bff2c025579d5f0cacbc9c7d3694a5bf717cd9d35 SHA512 210a2225a83f10ce6d79f2eb4d5937e7fa805384767f4e2d1ca91fe8408436560ad062b8d6c69209651fdf304e6a850e14b9d0a509dc25fe13ab9225d2ca7bdc diff --git a/dev-ruby/treetop/treetop-1.6.11-r1.ebuild b/dev-ruby/treetop/treetop-1.6.11-r1.ebuild deleted file mode 100644 index b2e939d1c226..000000000000 --- a/dev-ruby/treetop/treetop-1.6.11-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="treetop.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Treetop is a language for describing languages" -HOMEPAGE="https://github.com/cjheath/treetop" -SRC_URI="https://github.com/cjheath/treetop/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="0" -IUSE="" - -ruby_add_bdepend "test? ( >=dev-ruby/rr-1.0 dev-ruby/activesupport )" -ruby_add_rdepend ">=dev-ruby/polyglot-0.3.1:0" - -all_ruby_prepare() { - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -all_ruby_install() { - all_fakegem_install - - dodoc -r examples -} diff --git a/dev-ruby/treetop/treetop-1.6.12.ebuild b/dev-ruby/treetop/treetop-1.6.12.ebuild index ed50b8952f53..f255b7c9d3e4 100644 --- a/dev-ruby/treetop/treetop-1.6.12.ebuild +++ b/dev-ruby/treetop/treetop-1.6.12.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="ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_TASK_DOC="" diff --git a/dev-ruby/tty-command/tty-command-0.10.1-r1.ebuild b/dev-ruby/tty-command/tty-command-0.10.1-r1.ebuild index af35c67359f5..85bc25a83d31 100644 --- a/dev-ruby/tty-command/tty-command-0.10.1-r1.ebuild +++ b/dev-ruby/tty-command/tty-command-0.10.1-r1.ebuild @@ -1,8 +1,8 @@ -# 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="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3" diff --git a/dev-ruby/tty-file/tty-file-0.10.0-r1.ebuild b/dev-ruby/tty-file/tty-file-0.10.0-r1.ebuild new file mode 100644 index 000000000000..1f2ac9d6e677 --- /dev/null +++ b/dev-ruby/tty-file/tty-file-0.10.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="File manipulation utility methods" +HOMEPAGE="https://github.com/piotrmurach/tty-file" +SRC_URI="https://github.com/piotrmurach/tty-file/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/diff-lcs-1.3:0 + >=dev-ruby/pastel-0.8:0 + >=dev-ruby/tty-prompt-0.22:0 +" + +ruby_add_bdepend "test? ( dev-ruby/webmock )" + +all_ruby_prepare() { + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + echo '-rspec_helper' > .rspec || die +} + +each_ruby_prepare() { + mkdir tmp || die +} |
