Files
gentoo/dev-ruby/minitest-power_assert/minitest-power_assert-0.3.1-r1.ebuild
Alfred Wingate c6510a3fd1 dev-ruby/minitest-power_assert: enable ruby40
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1457
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-19 07:43:09 +01:00

31 lines
617 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="Power Assert for Minitest"
HOMEPAGE="https://github.com/hsbt/minitest-power_assert"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
ruby_add_rdepend "
dev-ruby/minitest:*
>=dev-ruby/power_assert-1.1
"
PATCHES=(
"${FILESDIR}"/minitest-power_assert-0.3.1-ruby34.patch
)
all_ruby_prepare() {
sed -i -e '/bundle/ s:^:#:' Rakefile || die
}