mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-26 17:05:49 +02:00
32 lines
771 B
Bash
32 lines
771 B
Bash
# 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="README.md"
|
|
|
|
RUBY_FAKEGEM_EXTENSIONS=(ext/debug_inspector/extconf.rb)
|
|
|
|
RUBY_FAKEGEM_GEMSPEC="debug_inspector.gemspec"
|
|
|
|
RUBY_FAKEGEM_BINWRAP=""
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="A Ruby wrapper for the MRI 2.0 debug_inspector API"
|
|
HOMEPAGE="https://github.com/banister/debug_inspector"
|
|
SRC_URI="https://github.com/banister/debug_inspector/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-ruby34.patch" )
|
|
|
|
all_ruby_prepare() {
|
|
sed -i -e '/extensiontask/,$ s:^:#:' Rakefile || die
|
|
|
|
sed -i -e 's/MiniTest/Minitest/' test/basic_test.rb || die
|
|
}
|