gentoo-ebuilds/dev-ruby/immutable-ruby/immutable-ruby-0.2.0.ebuild
Hans de Graaff c328a6183e
dev-ruby/immutable-ruby: enable ruby34
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2025-04-07 07:51:13 +02:00

28 lines
743 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_GEMSPEC="immutable-ruby.gemspec"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
inherit ruby-fakegem
DESCRIPTION="Efficient, immutable, thread-safe collection classes for Ruby"
HOMEPAGE="https://github.com/immutable-ruby/immutable-ruby"
SRC_URI="https://github.com/immutable-ruby/immutable-ruby/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
ruby_add_rdepend "
>=dev-ruby/concurrent-ruby-1.1:1
dev-ruby/sorted_set:0
"
all_ruby_prepare() {
sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb spec/lib/immutable/vector/insert_spec.rb || die
}