gentoo/dev-ruby/typed-array/typed-array-0.1.2-r2.ebuild
Hans de Graaff 23a211197d
dev-ruby/typed-array: enable ruby34
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2025-04-02 09:23:31 +02:00

26 lines
594 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
inherit ruby-fakegem
DESCRIPTION="Gem provides enforced-type functionality to Arrays"
HOMEPAGE="https://github.com/yaauie/typed-array"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
all_ruby_prepare() {
# There is a trash...
rm "${S}"/lib/typed-array/.DS_Store || die
sed -i -e 's/Fixnum/Integer/' spec/typed-array_spec.rb || die
}