2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-13 00:10:42 +03:00
Files
gentoo/dev-ruby/sourcemap/sourcemap-0.1.1-r1.ebuild
Hans de Graaff a01a01e397 dev-ruby/sourcemap: enable ruby40
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2026-01-04 08:18:56 +01:00

25 lines
540 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="Ruby source maps"
HOMEPAGE="https://github.com/maccman/sourcemap"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
sed -e 's/MiniTest/Minitest/' \
-e '1igem "minitest", "~> 5.0"' \
-i test/test_*.rb || die
}