gentoo-ebuilds/dev-ruby/commander/commander-5.0.0.ebuild
Hans de Graaff 328d098970
dev-ruby/commander: enable ruby34
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2025-07-12 07:02:06 +02:00

27 lines
580 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="History.rdoc README.md"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
inherit ruby-fakegem
DESCRIPTION="The complete solution for Ruby command-line executables"
HOMEPAGE="https://github.com/commander-rb/commander"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
ruby_add_rdepend "
!<dev-ruby/commander-4.6.0-r1:0
dev-ruby/highline:3
"
all_ruby_prepare() {
sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die
}