summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-10-19 07:18:39 +0200
committerHans de Graaff <graaff@gentoo.org>2015-10-20 07:05:34 +0200
commitff1b573c62f8696f363897a3ac13000f8ff63f74 (patch)
tree4c6a452bed9d558b05ed0001236cc482d48dc18d /dev-ruby/highline
parentdev-ruby/highline: cleanup (diff)
downloadgentoo-ff1b573c62f8696f363897a3ac13000f8ff63f74.tar.gz
gentoo-ff1b573c62f8696f363897a3ac13000f8ff63f74.tar.bz2
gentoo-ff1b573c62f8696f363897a3ac13000f8ff63f74.zip
dev-ruby/highline: add 1.7.8
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/highline')
-rw-r--r--dev-ruby/highline/Manifest1
-rw-r--r--dev-ruby/highline/highline-1.7.8.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest
index 77ddc6947e9..31c250dd211 100644
--- a/dev-ruby/highline/Manifest
+++ b/dev-ruby/highline/Manifest
@@ -1,3 +1,4 @@
DIST highline-1.6.21.gem 221184 SHA256 c136298eee86ceff87baadc71d764ea07986f89805636e4a6a305b2d5da07519 SHA512 520f319816453a576ed14294d38bbace80c6a70d79c5500eca47e612449b7b5c99d5d28f401457e981a2b511cbd28a8fdf6f3e1dd30113aff59f134ae89d1111 WHIRLPOOL 14289aef26079419f6f93c88cc022bd830c848c438b6958e9c52a59c8d5ce760633fba5007a651c17770ea4e69c354d3c119c2c97c11b4dad95bcf101cab22c1
DIST highline-1.7.6.gem 224256 SHA256 17d22a44993eb5e9836cc2804a966ace22386f2a0e37cc1cb7d5b69b433fabe3 SHA512 0ecf743d92227c17d19649afd909ed90e27f159aa54dd3ccfa7591dc4a95e17aebd5082f9a89c5c663a7db53a8cf9a90bb28ee4b6987254edb34c1e494b4ac20 WHIRLPOOL c7be26f6fa3d454175d5b4102c521bc0fa8b0502798b0e3c39c8f579eac82c82a5660b89a1c10ec57cd8d5621d3f01cd1adc782e6944193f08fb7351b74cd0de
DIST highline-1.7.7.gem 224768 SHA256 4acd3a1f8eddb11443e7912f8ed0c688919c85c4ed193a568165d804b7a28add SHA512 cb1973bb0b34379db6749adb9589247e41891c38ab405d20038c32139075a650e545210dfb85f134f5e5b0bce700ae4144430c6f6ab814d53b49d18d573bbcc6 WHIRLPOOL bb826674d26ff37145984ea7418ab4fc925ea732b8f0f1c7ad81a62f2339d4644da308d8c05f843d4046c01cf5211473bb3e205aa6fba4605e6b8e094f4c6d38
+DIST highline-1.7.8.gem 224768 SHA256 795274094fd385bfe45a2ac7b68462b6ba43e21bf311dbdca5225a63dba3c5d9 SHA512 85f57ab732009cc961b824e252f0b65bbe7c0a8c97849d453773a331016b2ea8fa0efe393bc1a0073eae6d3cf523d97b9434cd73bdceed55bc069be0b6f4b41d WHIRLPOOL 7085518a05a27429d0b58582fdc20d182f06e85894ab96e60ced9dbdea547246449f3a6a4b5a363bb92ec49547b9360765e1d5f6ea8352e4cef0df3fc9666052
diff --git a/dev-ruby/highline/highline-1.7.8.ebuild b/dev-ruby/highline/highline-1.7.8.ebuild
new file mode 100644
index 00000000000..07bc7fc6711
--- /dev/null
+++ b/dev-ruby/highline/highline-1.7.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.rdoc TODO"
+RUBY_FAKEGEM_DOCDIR="doc/html"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Highline is a high-level command-line IO library for ruby"
+HOMEPAGE="https://github.com/JEG2/highline"
+
+IUSE=""
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+
+all_ruby_prepare() {
+ # fix up gemspec file not to call git
+ sed -i -e '/git ls-files/d' highline.gemspec || die
+
+ # Avoid unneeded dependencies
+ sed -i -e '/\(bundler\|code_statistics\)/ s:^:#:' \
+ -e '/PackageTask/,/end/ s:^:#:' Rakefile || die
+
+ # Avoid tests that require a real console because we can't provide
+ # that when running tests through portage. These should pass when
+ # run in a console. We should probably narrow this down more to the
+ # specific tests.
+ rm test/tc_highline.rb || die
+
+ sed -i -e '/test_question_options/,/^ end/ s:^:#:' \
+ -e '/test_paged_print_infinite_loop_bug/,/^ end/ s:^:#:' \
+ -e '/test_cancel_paging/,/^ end/ s:^:#:' \
+ test/tc_menu.rb || die
+}