2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-16 00:00:25 +03:00
Files
gentoo/dev-ruby/ruby-macho/ruby-macho-4.1.0.ebuild
Hans de Graaff aa8b0fa416 dev-ruby/ruby-macho: enable ruby40
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2026-01-03 21:23:03 +01:00

25 lines
642 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_GEMSPEC="ruby-macho.gemspec"
inherit ruby-fakegem
DESCRIPTION="A library for viewing and manipulating Mach-O files in Ruby"
HOMEPAGE="https://github.com/Homebrew/ruby-macho"
SRC_URI="https://github.com/Homebrew/ruby-macho/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="~amd64 ~arm ~x86"
all_ruby_prepare() {
# Avoid benchmarks with additional dependencies
rm -f test/bench.rb || die
sed -i -e '/test\/bench/ s:^:#:' Rakefile || die
}