diff options
Diffstat (limited to 'dev-ruby/async-io/async-io-1.34.0.ebuild')
-rw-r--r-- | dev-ruby/async-io/async-io-1.34.0.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-ruby/async-io/async-io-1.34.0.ebuild b/dev-ruby/async-io/async-io-1.34.0.ebuild index 75b432695d8b..b69e9ffdfcb0 100644 --- a/dev-ruby/async-io/async-io-1.34.0.ebuild +++ b/dev-ruby/async-io/async-io-1.34.0.ebuild @@ -3,15 +3,17 @@ EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31" + RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_EXTRA_DOC="README.md" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + inherit ruby-fakegem DESCRIPTION="Provides support for asynchonous TCP, UDP, UNIX and SSL sockets" HOMEPAGE="https://github.com/socketry/async-io" -SRC_URI="https://github.com/socketry/async-io/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/socketry/async-io/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" @@ -28,5 +30,7 @@ ruby_add_bdepend "test? ( all_ruby_prepare() { sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die - sed -i -E 's/require '"'"'covered\/rspec'"'"'//g' "spec/spec_helper.rb" || die + + # Avoid test dependency on covered + sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die } |