diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-11-21 08:31:33 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-11-21 08:32:45 +0100 |
commit | 8d6f2e57f22ac828d3d8b194746395e449dfb717 (patch) | |
tree | 7cda034e56b638e4e3608d82ab20ff40b66b574b /app-admin/r10k/r10k-3.7.0-r2.ebuild | |
parent | dev-ruby/gettext-setup: cleanup (diff) | |
download | gentoo-8d6f2e57f22ac828d3d8b194746395e449dfb717.tar.gz gentoo-8d6f2e57f22ac828d3d8b194746395e449dfb717.tar.bz2 gentoo-8d6f2e57f22ac828d3d8b194746395e449dfb717.zip |
app-admin/r10k: fix dependencies
Add and fix gettext related dependencies similar to
dev-ruby/gettext-setup since we don't need to support ruby24.
Fix colored2 dependency.
Closes: https://bugs.gentoo.org/742629
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'app-admin/r10k/r10k-3.7.0-r2.ebuild')
-rw-r--r-- | app-admin/r10k/r10k-3.7.0-r2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-admin/r10k/r10k-3.7.0-r2.ebuild b/app-admin/r10k/r10k-3.7.0-r2.ebuild new file mode 100644 index 000000000000..0d4f8948a754 --- /dev/null +++ b/app-admin/r10k/r10k-3.7.0-r2.ebuild @@ -0,0 +1,49 @@ +# 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" +RUBY_FAKEGEM_EXTRAINSTALL=locales + +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/colored2-3.1.2 + >=dev-ruby/cri-2.15.10:0 + >=dev-ruby/gettext-setup-0.24:0 + >=dev-ruby/fast_gettext-1.1:0 + >=dev-ruby/ruby-gettext-3.0.2: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 -e '/s.files/d' \ + -e '/fast_gettext/ s/1.1.0/1.1/' \ + -e "/gettext/ s/'< 3.3.0'//" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid specs for unpackaged rugget git provider + rm -rf spec/unit/git_spec.rb spec/unit/git/rugged || die +} |