blob: 240033b4fc8f0a0b19a588104a28d2f4b04f7343 (
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
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="none"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
DESCRIPTION="Puppet environment and module deployment"
HOMEPAGE="https://github.com/puppetlabs/r10k"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+git"
ruby_add_rdepend "
~dev-ruby/colored-1.2
~dev-ruby/cri-2.15.6
>=dev-ruby/gettext-setup-0.24:0
~dev-ruby/log4r-1.1.10
>=dev-ruby/multi_json-1.10:0
=dev-ruby/puppet_forge-2.3*
"
ruby_add_bdepend "test? (
>=dev-ruby/minitar-0.9
)"
RDEPEND="${RDEPEND} git? ( >=dev-vcs/git-1.6.6 )"
all_ruby_prepare() {
sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
# Avoid specs for unpackaged rugget git provider
rm -rf spec/unit/git_spec.rb spec/unit/git/rugged || die
}
|