dev-ruby/byebug - 11.1.3 (vowstar)

Search

Install

Install this version:

emerge -a =dev-ruby/byebug-11.1.3

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

autounmask =dev-ruby/byebug-11.1.3

Or alternatively:

emerge --autounmask-write -a =dev-ruby/byebug-11.1.3

Package Information

Description:
a Ruby 2 debugger
Homepage:
https://github.com/deivid-rodriguez/byebug
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
11.1.3 8 ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

RUBY_FAKEGEM_BINDIR="exe"
RUBY_FAKEGEM_EXTENSIONS=(ext/byebug/extconf.rb)
RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/byebug
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md GUIDE.md README.md"
RUBY_FAKEGEM_GEMSPEC=${PN}.gemspec
USE_RUBY="ruby32 ruby33"

inherit ruby-fakegem

DESCRIPTION="a Ruby 2 debugger"
HOMEPAGE="https://github.com/deivid-rodriguez/byebug"
SRC_URI="https://github.com/deivid-rodriguez/byebug/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
# Tests require bundler and hang when run from portage
RESTRICT="test"

ruby_add_bdepend "
	test? (
		dev-ruby/byebug
		dev-ruby/pry
	)
"

all_ruby_prepare() {
	sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die
	sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
}

each_ruby_test() {
	NOCOV=true ${RUBY} -r./test/minitest_runner -e Byebug::MinitestRunner.new.run || die
}

Inherited Eclasses

Manifest for 11.1.3

Type File Size Source URLs
DIST byebug-11.1.3.tar.gz 131063 bytes https://github.com/deivid-rodriguez/byebug/archive/v11.1.3.tar.gz