diff options
Diffstat (limited to 'dev-ruby/addressable')
-rw-r--r-- | dev-ruby/addressable/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/addressable/addressable-2.8.1.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/addressable/Manifest b/dev-ruby/addressable/Manifest index 8836d50b739b..3d238d0a9e41 100644 --- a/dev-ruby/addressable/Manifest +++ b/dev-ruby/addressable/Manifest @@ -1,3 +1,5 @@ DIST addressable-2.8.0.gem 105984 BLAKE2B 82f053c9ad052ce1ed1b6927674bd5bcda86a3f70d46b63bfc1185d51b402996fd446647d705418791c5443a1767b4ecd0b891f26de63fbe737c62f7586bd57c SHA512 c684f17940f717c2a65f9716ab9b3659948d6d51a60c38a7295fcf6fdc1c5785d2d315d2de7dab9f66a6c31f62247177d78d5d6eb556f5bb49926d4f00f8e4c8 +DIST addressable-2.8.1.gem 105984 BLAKE2B 9ba6fffe2af965be57ef7b2f86c5c86c672e0037c41996d78a3b8f31a9b5a5818e06d7e119733cff3d5469bc985186fac6fa978740f107876a975b5ac662171f SHA512 ae0b7cb5fdc0b5b8717637e9589ab9167aa3924253f4c9102134b1e5aee07c7f5e3e92e2e32ca872b4a72a3a70c8086c7073cbbddf7cbb6e1948ed97de2c9108 EBUILD addressable-2.8.0.ebuild 1324 BLAKE2B 800ae77cc9eaba998f5c30f0ad61b5d58d0aba3dee80cc7dd93b75e04032a3a8e756c74535791d774649cb0d8a5eef7e6b1298090a6c8e8b1bdc8170e179d6b6 SHA512 df82b26890bc0b9e0d90dda4b3b93319ace52461946d3ac0f1bd300c0ea54ec2dec3847c16d26e0849f8e4276ef02c32de7a03a003d10fe1f58c73694377392a +EBUILD addressable-2.8.1.ebuild 1348 BLAKE2B 4213e4b1729a2b4225ffd95c7e73fb18db4ff8a724a9c3a3bd66593bee3ead39e54752ca08c36d44cd65109648c3de0a7770980e426d65f5d0527bfb6d34fcdf SHA512 0a452fe63028d865901a6d59a3f92f9faac329af420ce052772f8aad069ed92ae69a73d3288950ed7a98baa9558b1732f5efb8efcd67ae4fdd4d1e78dff61700 MISC metadata.xml 405 BLAKE2B bcbba1d9880e5abe377fe1e7fb1e1c732f1fd00bc32fcc48f69e5529749900d89dbe0e69de4477d4e0984d780b02164d812407951cb2bc3f9cf052e9ad5d0217 SHA512 2f270c88c5a807840b8165ab65bd6de51a878d218ab71ff0f7de18f60be298b6d048dacb8601605c0b1960852ba9b841de742e3bc64d74b96fb88d8338ca33fb diff --git a/dev-ruby/addressable/addressable-2.8.1.ebuild b/dev-ruby/addressable/addressable-2.8.1.ebuild new file mode 100644 index 000000000000..4a80cd514c1b --- /dev/null +++ b/dev-ruby/addressable/addressable-2.8.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_rdepend "|| ( dev-ruby/public_suffix:5 dev-ruby/public_suffix:4 dev-ruby/public_suffix:3 )" + +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 +} |