commit: feaa4bc6d880662f6f19bd52812f86b53dacb4e9 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Jun 24 05:23:17 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Jun 24 05:29:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feaa4bc6
dev-ruby/addressable: add 2.8.7 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/addressable/Manifest | 1 + dev-ruby/addressable/addressable-2.8.7.ebuild | 42 +++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ruby/addressable/Manifest b/dev-ruby/addressable/Manifest index bafb50034329..34849b7398a4 100644 --- a/dev-ruby/addressable/Manifest +++ b/dev-ruby/addressable/Manifest @@ -1,3 +1,4 @@ DIST addressable-2.8.4.gem 105984 BLAKE2B 788d84a9fe52a05c5e8429aaea59096b604bfad22b06c48f0d8186eb4197e47171310d1d3e9ab296d08b3033443d1fdf6b9b55fdefafd51e4c88feaf5b53298d SHA512 45324e96fb4415b745eb26bd0c3e042102efbdfca879177a70288303c96a4889ff59f794ed0010ea8a95c5d6907b76b0e8c66cce0a5478832c9df465a01e3fcb DIST addressable-2.8.5.gem 106496 BLAKE2B 07aadf72772eb909c833079918e44231208b5d9494eac218da1ed30224eb5fabb5369b5dbb0759d328f0cc57117e26fee33ec1139f75d89b2255472df9f2f9e7 SHA512 cc35437d91dfb95f49eeba60b153b89d9f1475fd0770056c22865913629f3bf0a3545585a457bc5a42d97f2e6e81362308e9eb91fd3b2b8a571b997ba53796eb DIST addressable-2.8.6.gem 107008 BLAKE2B 0f831f5b2ca1f6fd8c36a5518a9b0bf5819a74f29be2f3897428ec941e40089b3bd627a5359637c7c59cd81fdec57b85c2f3a9a24501d1a425a20940e9f61c50 SHA512 a7cb784cd5564cabec99eb7582ac17969b166e38057c23f3df74707d0078d00d001c2523432ce4e52720528ee808f314f2d6c9139562de27b599363b919cca65 +DIST addressable-2.8.7.gem 106496 BLAKE2B 9ca37ad54e29135afce5261c77906449958aa9611f0d398d65712b6992977f86d053dea2b7deb69d39a84a1ec89d36fbaff366ca994a05827a8a6b7b71a9e559 SHA512 20fe488267917fdae53cdb4c0fd6264b93dc304e6fa5bb38dbb46f1f7a9eee37acc1336941be1cc7769fa110f541c9f92ab75025e07c15be85cc4a7ef6f94fd1 diff --git a/dev-ruby/addressable/addressable-2.8.7.ebuild b/dev-ruby/addressable/addressable-2.8.7.ebuild new file mode 100644 index 000000000000..265810dff9b1 --- /dev/null +++ b/dev-ruby/addressable/addressable-2.8.7.ebuild @@ -0,0 +1,42 @@ +# 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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +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:6 dev-ruby/public_suffix:5 dev-ruby/public_suffix:4 )" + +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 +}
