dev-ruby/stackprof - 0.2.27 (graaff)

Search

Install

Install this version:

emerge -a =dev-ruby/stackprof-0.2.27

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ruby/stackprof-0.2.27

Or alternatively:

emerge --autounmask-write -a =dev-ruby/stackprof-0.2.27

Package Information

Description:
A fast sampling profiler for ruby code
Homepage:
https://github.com/tmm1/stackprof
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.2.27 8 ~amd64 0
View Raw Ebuild
# 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_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_EXTENSIONS=(ext/stackprof/extconf.rb)
RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/stackprof"

inherit ruby-fakegem

DESCRIPTION="A fast sampling profiler for ruby code"
HOMEPAGE="https://github.com/tmm1/stackprof"
LICENSE="MIT"

SLOT="0"
KEYWORDS="~amd64"
IUSE="test"

ruby_add_bdepend "test? ( dev-ruby/minitest:5 dev-ruby/mocha )"

all_ruby_prepare() {
	sed -e '/mocha/ s/setup/minitest/' \
		-e 's/MiniTest/Minitest/' \
		-i test/test_*.rb || die
}

each_ruby_test() {
	${RUBY} -I lib:test:. -e 'Dir["test/**/test_*.rb"].each { require _1 }' || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ruby/stackprof | euse -E <flag> -p dev-ruby/stackprof | euse -D <flag> -p dev-ruby/stackprof

Global/Standard Flags

Inherited Eclasses