From dd2aea324c07fe1bd13143bb37eff11117b6130a Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 24 Oct 2019 02:09:32 +0200 Subject: Dice(kiwi) and dependencies; kiwi and dependecies (still missing zypper) --- dev-ruby/gli/gli-2.19.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dev-ruby/gli/gli-2.19.0.ebuild (limited to 'dev-ruby/gli/gli-2.19.0.ebuild') diff --git a/dev-ruby/gli/gli-2.19.0.ebuild b/dev-ruby/gli/gli-2.19.0.ebuild new file mode 100644 index 0000000..cf3eab3 --- /dev/null +++ b/dev-ruby/gli/gli-2.19.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE="rake" +RUBY_FAKEGEM_TASK_DOC="build_rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="gli.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Git-Like Interface Command Line Parser" +HOMEPAGE="https://davetron5000.github.com/gli" +LICENSE="Apache-2.0" + +KEYWORDS="x86 amd64" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-util/cucumber )" + +all_ruby_prepare() { + sed -e '/sdoc/ s:^:#:' -i Rakefile || die + + sed -e 's:tmp/fakehome:#{ENV["TMPDIR"]}/fakehome:' -i features/support/env.rb || die +} + +each_ruby_test() { + # Unit tests depend on unpackaged clean_test. + ${RUBY} -S cucumber --format progress features || die +} -- cgit v1.2.3