Install this version:
emerge -a =dev-ruby/roo-3.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ruby/roo-3.0.0
Or alternatively:
emerge --autounmask-write -a =dev-ruby/roo-3.0.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.0.0 | 8 | ~amd64 | $(ver_cut 1) |
# 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_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="roo.gemspec"
inherit ruby-fakegem
DESCRIPTION="Access the contents of various spreadsheet files."
HOMEPAGE="https://github.com/roo-rb/roo"
SRC_URI="https://github.com/roo-rb/roo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64"
IUSE="test"
ruby_add_rdepend "
dev-ruby/base64:0.3
dev-ruby/csv:3
dev-ruby/logger:0
>=dev-ruby/nokogiri-1
dev-ruby/rubyzip:3
"
ruby_add_bdepend "test? ( dev-ruby/rspec:3 dev-ruby/shoulda dev-ruby/rack:2.2 )"
all_ruby_prepare() {
sed -e 's/git ls-files -z/find * -print0/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/coveralls/I s:^:#:' Rakefile || die
sed -i -e '/reporters/ s:^:#:' test/test_helper.rb || die
sed -e '/simplecov/ s:^:#:' \
-e '2igem "rack", "<3"' \
-i test/test_helper.rb spec/spec_helper.rb || die
# Avoid tests that require network access
sed -e '/\(download_uri_with_query_string\|download_uri_and_zipped\|with_invalid_host\)/a skip "network access required"' \
-i test/roo/test_{csv,open_office,excelx}.rb || die
}
Manage flags for this package:
euse -i <flag> -p dev-ruby/roo |
euse -E <flag> -p dev-ruby/roo |
euse -D <flag> -p dev-ruby/roo
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | roo-3.0.0.tar.gz | 5917520 bytes | https://github.com/roo-rb/roo/archive/v3.0.0.tar.gz |