You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
941 B
45 lines
941 B
6 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=6
|
||
6 years ago
|
|
||
5 years ago
|
USE_RUBY="ruby24 ruby25 ruby26"
|
||
6 years ago
|
|
||
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||
|
RUBY_FAKEGEM_TASK_DOC=""
|
||
|
|
||
|
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
|
||
5 years ago
|
~dev-ruby/cri-2.15.6
|
||
6 years ago
|
>=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.2.8
|
||
|
=dev-ruby/puppet_forge-2.2*
|
||
|
"
|
||
|
|
||
|
ruby_add_bdepend "test? (
|
||
|
dev-ruby/archive-tar-minitar
|
||
|
)"
|
||
|
|
||
|
RDEPEND="${RDEPEND} git? ( >=dev-vcs/git-1.6.6 )"
|
||
|
|
||
|
all_ruby_prepare() {
|
||
5 years ago
|
sed -i -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||
6 years ago
|
|
||
|
# Avoid specs for unpackaged rugget git provider
|
||
|
rm -rf spec/unit/git_spec.rb spec/unit/git/rugged || die
|
||
|
}
|