Install this version:
emerge -a =dev-ruby/reek-6.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ruby/reek-6.4.0
Or alternatively:
emerge --autounmask-write -a =dev-ruby/reek-6.4.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 6.4.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="reek.gemspec"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
inherit ruby-fakegem
DESCRIPTION="Examines Ruby classes, modules and methods and reports any code smells it finds"
HOMEPAGE="https://github.com/troessner/reek"
SRC_URI="https://github.com/troessner/reek/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
ruby_add_rdepend "
=dev-ruby/dry-schema-1.13*
>=dev-ruby/logger-1.6:0
=dev-ruby/parser-3.3*
dev-ruby/rainbow:3
>=dev-ruby/rexml-3.1:3
"
all_ruby_prepare() {
sed -e "s:_relative ': './:" \
-e 's/git ls-files -z/find * -print0/' \
-e 's/__dir__/"."/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
# Avoid unpackaged dependencies
sed -e '/rspec-benchmark/ s:^:#:' \
-e '/Benchmark/ s:^:#:' \
-i spec/spec_helper.rb || die
rm -f spec/performance/reek/smell_detectors/runtime_speed_spec.rb || die
rm -rf spec/reek/code_climate || die
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | reek-6.4.0.tar.gz | 287861 bytes | https://github.com/troessner/reek/archive/refs/tags/v6.4.0.tar.gz |