Diff rspec-stubbed_env-1.0.0-r1 with a rspec-stubbed_env-1.0.1
/usr/portage/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild 2023-10-09 14:52:30.460368375 +0300 | ||
---|---|---|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 | ||
7 |
# Gem does not contain tests and upstream releases are not tagged |
|
8 |
RUBY_FAKEGEM_RECIPE_TEST="none" |
|
9 |
RUBY_FAKEGEM_EXTRADOC="README.md" |
|
5 |
USE_RUBY="ruby30 ruby31 ruby32" |
|
10 | 6 | |
11 | 7 |
RUBY_FAKEGEM_BINWRAP="" |
8 |
RUBY_FAKEGEM_EXTRADOC="README.md" |
|
9 |
RUBY_FAKEGEM_GEMSPEC="rspec-stubbed_env.gemspec" |
|
10 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
|
12 | 11 | |
13 | 12 |
inherit ruby-fakegem |
14 | 13 | |
15 | 14 |
DESCRIPTION="Stub environment variables in a scoped context for testing" |
16 | 15 |
HOMEPAGE="https://github.com/pboling/rspec-stubbed_env" |
16 |
SRC_URI="https://github.com/pboling/rspec-stubbed_env/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
|
17 | 17 |
IUSE="" |
18 | 18 |
SLOT="1" |
19 | 19 | |
... | ... | |
21 | 21 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
22 | 22 | |
23 | 23 |
ruby_add_rdepend ">=dev-ruby/rspec-3.0" |
24 | ||
25 |
ruby_add_bdepend "test? ( dev-ruby/rspec-block_is_expected )" |
|
26 | ||
27 |
all_ruby_prepare() { |
|
28 |
sed -i -e '/simplecov/ s:^:#:' spec/spec_helper.rb || die |
|
29 |
} |