gentoo-ebuilds/dev-ruby/paramesan/paramesan-1.0.1-r1.ebuild
Hans de Graaff 7365de0313
dev-ruby/paramesan: enable ruby34
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2024-12-31 09:37:34 +01:00

27 lines
666 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_GEMSPEC="paramesan.gemspec"
inherit ruby-fakegem
DESCRIPTION="Parameterized tests in Ruby"
HOMEPAGE="https://github.com/jpace/paramesan"
SRC_URI="https://github.com/jpace/paramesan/archive/v${PV}.tar.gz -> ${P}.tgz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="amd64 ~hppa ~ppc ~sparc x86"
all_ruby_prepare() {
sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/bundler/ s:^:#:' Rakefile || die
}