blob: 0b3954b743467e3de7c92e49842ba7a9d3ef6566 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="Synchronization aid to allow threads to wait for operations in other threads"
HOMEPAGE="https://github.com/benlangfeld/countdownlatch"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
sed -e '1igem "minitest", "~> 5.0"' \
-i spec/countdownlatch_spec.rb || die
}
|