commit: 7b2419c2568221fa58e578083c093758907b6719 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Dec 3 19:49:20 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Dec 4 08:31:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b2419c2
dev-ruby/addressable: add 2.8.8 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/addressable/Manifest | 1 + dev-ruby/addressable/addressable-2.8.8.ebuild | 41 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-ruby/addressable/Manifest b/dev-ruby/addressable/Manifest index 9d43c78fa366..d9bf78841155 100644 --- a/dev-ruby/addressable/Manifest +++ b/dev-ruby/addressable/Manifest @@ -1 +1,2 @@ DIST addressable-2.8.7.gem 106496 BLAKE2B 9ca37ad54e29135afce5261c77906449958aa9611f0d398d65712b6992977f86d053dea2b7deb69d39a84a1ec89d36fbaff366ca994a05827a8a6b7b71a9e559 SHA512 20fe488267917fdae53cdb4c0fd6264b93dc304e6fa5bb38dbb46f1f7a9eee37acc1336941be1cc7769fa110f541c9f92ab75025e07c15be85cc4a7ef6f94fd1 +DIST addressable-2.8.8.gem 109568 BLAKE2B f67639b393ed87c6785a51999a19ab7ea638c575e20a169edc4fa24b13d64208d04ccd66e42ea1b8f52f91cbe22ce4d74beeea402fa3c2840af0cc307e2eb16c SHA512 a8457764d7bb88ffa62576bfc9af5ff8b36a6aa88a2d46a9ffc1ca90508391415fa2e51ed0238d6a91203e560766b46c59e44cdb5181e9d172e77f9545f4d1e9 diff --git a/dev-ruby/addressable/addressable-2.8.8.ebuild b/dev-ruby/addressable/addressable-2.8.8.ebuild new file mode 100644 index 000000000000..d72f418c0269 --- /dev/null +++ b/dev-ruby/addressable/addressable-2.8.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +inherit ruby-fakegem + +DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library" +HOMEPAGE="https://rubygems.org/gems/addressable https://github.com/sporkmonger/addressable" + +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc test" + +ruby_add_rdepend "|| ( dev-ruby/public_suffix:7 dev-ruby/public_suffix:6 )" + +ruby_add_bdepend "test? ( dev-ruby/rspec-its )" + +all_ruby_prepare() { + # Remove spec-related tasks so that we don't need to require rspec + # just to build the documentation, bug 383611. + sed -i -e '/spectask/d' Rakefile || die + rm -f tasks/rspec.rake || die + sed -i -e '/bundler/ s:^:#:' \ + -e '/^begin/,/^end/ s:^:#:' \ + spec/spec_helper.rb || die + + # Remove specs requiring network connectivity + rm -f spec/addressable/net_http_compat_spec.rb || die + + # Remove spec that tests against an unreleased github fork + rm -f spec/addressable/rack_mount_compat_spec.rb || die +}
