Install this version:
emerge -a =dev-ruby/heapy-0.2.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ruby/heapy-0.2.0
Or alternatively:
emerge --autounmask-write -a =dev-ruby/heapy-0.2.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2.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 ruby34"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="heapy.gemspec"
inherit ruby-fakegem
DESCRIPTION="Got a heap dump? Great. Use this tool to see what's in it!"
HOMEPAGE="https://github.com/zombocom/heapy"
SRC_URI="https://github.com/zombocom/heapy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
DEPEND+=" test? ( dev-vcs/git )"
ruby_add_rdepend "dev-ruby/thor"
all_ruby_prepare() {
sed -i -e '/rake/ s/~>/>=/' heapy.gemspec || die
git init . || die
# Remove failing spec
rm -f spec/slow_spec.rb || die
}
each_ruby_test() {
RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec || die
}
Manage flags for this package:
euse -i <flag> -p dev-ruby/heapy |
euse -E <flag> -p dev-ruby/heapy |
euse -D <flag> -p dev-ruby/heapy
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | heapy-0.2.0.tar.gz | 6085006 bytes | https://github.com/zombocom/heapy/archive/v0.2.0.tar.gz |