Diff localhost-1.1.9 with a localhost-1.1.10
/usr/portage/dev-ruby/localhost/localhost-1.1.10.ebuild 2023-10-09 14:52:30.440368374 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 |
USE_RUBY="ruby26 ruby27 ruby30 ruby31" |
|
6 | 5 | |
7 |
RUBY_FAKEGEM_EXTRADOC="README.md" |
|
6 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
7 | ||
8 |
RUBY_FAKEGEM_EXTRADOC="readme.md" |
|
8 | 9 |
RUBY_FAKEGEM_GEMSPEC="localhost.gemspec" |
9 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
|
10 |
RUBY_FAKEGEM_RECIPE_TEST="sus" |
|
10 | 11 | |
11 | 12 |
inherit ruby-fakegem |
12 | 13 | |
13 | 14 |
DESCRIPTION="Manage a local CA for self-signed localhost development servers" |
14 | 15 |
HOMEPAGE="https://github.com/socketry/localhost" |
15 | 16 |
SRC_URI="https://github.com/socketry/localhost/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
16 |
LICENSE="MIT" |
|
17 | 17 | |
18 |
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" |
|
18 |
LICENSE="MIT" |
|
19 | 19 |
SLOT="$(ver_cut 1)" |
20 |
IUSE="" |
|
20 |
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
21 | 21 | |
22 |
# Skip tests for now since they require a lot of |
|
23 |
# dependencies and this package blocks a security bug. |
|
24 |
RESTRICT="test" |
|
25 | ||
26 |
#ruby_add_bdepend "test? ( dev-ruby/async-rspec ) " |
|
22 |
ruby_add_bdepend " |
|
23 |
test? ( |
|
24 |
dev-ruby/async-io |
|
25 |
dev-ruby/async-process |
|
26 |
dev-ruby/sus-fixtures-async |
|
27 |
) |
|
28 |
" |
|
27 | 29 | |
28 | 30 |
all_ruby_prepare() { |
29 | 31 |
sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die |
30 |
sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die |
|
32 |
sed -i -e '/covered/Id' config/sus.rb || die |
|
33 |
} |
|
34 | ||
35 |
each_ruby_test() { |
|
36 |
# Tests fail in parallel as it tries to use the same port so |
|
37 |
# manually replicate ruby-ng_sus for now, as ruby-ng_sus runs sus-parallel. |
|
38 |
${RUBY} -S sus || die |
|
31 | 39 |
} |