summaryrefslogtreecommitdiffstats
path: root/dev-ruby/gli
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/gli')
-rw-r--r--dev-ruby/gli/Manifest2
-rw-r--r--dev-ruby/gli/gli-2.19.0.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/gli/Manifest b/dev-ruby/gli/Manifest
new file mode 100644
index 0000000..62e49f1
--- /dev/null
+++ b/dev-ruby/gli/Manifest
@@ -0,0 +1,2 @@
+DIST gli-2.19.0.gem 78848 BLAKE2B efeba0d702f4e0eb948321fa4866b99e0f8ba9b2f8cd01880c5ec182e1a8a6093c93ebbf383c6c76ec1af088a8ffa1483918b51a7ef5452686957aa77706f5cb SHA512 9b99f9ee55790b15511142fe9daba32be233bee146aa7d99fcc248b4baaaad06666560d7097ddfaa4e1955f2a0f2c9847529d77ff9104518e7ab7466605e85da
+EBUILD gli-2.19.0.ebuild 828 BLAKE2B 2697eb441e9409a89f9620b54fac08f09d5a3cd1974a7e342fc9f489cfe8e0e1e4821e8a870281b11bb70d0f2ca6b55bb438ef4c81e959686641c809cf04d497 SHA512 6b43801cb40df291d5682ca4398d0723091b2b624c49c7dc6f727e268178fe795011bfdbfcee1d50d0ffcac814524e19cd491be654b810305b242d72e129e3fc
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
+}