2023-03-27 13:31:11 +03:00
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
2021-11-15 09:12:44 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2023-03-27 13:31:11 +03:00
|
|
|
# Tests broken with >=ruby30 for now: https://github.com/hamstergem/hamster/pull/252
|
|
|
|
# Bug: https://github.com/hamstergem/hamster/issues/254
|
|
|
|
USE_RUBY="ruby27 ruby30"
|
2021-11-15 09:12:44 +03:00
|
|
|
|
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
|
|
|
DESCRIPTION="Efficient, immutable, thread-safe collection classes for Ruby"
|
|
|
|
HOMEPAGE="https://github.com/hamstergem/hamster"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2022-03-18 22:10:33 +03:00
|
|
|
KEYWORDS="~amd64 ~riscv"
|
2021-11-15 09:12:44 +03:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
ruby_add_rdepend "dev-ruby/concurrent-ruby:1"
|
|
|
|
|
|
|
|
all_ruby_prepare() {
|
|
|
|
sed -i -e '/codeclimate/I s:^:#:' spec/spec_helper.rb || die
|
|
|
|
sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb spec/lib/hamster/vector/insert_spec.rb || die
|
|
|
|
}
|