summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-09-16 19:35:57 +0200
committerManuel Rüger <mrueg@gentoo.org>2015-09-16 19:35:57 +0200
commit10b9198ca852858c271c38d4d833000030b690de (patch)
treee222d061de29174f55ec4c86828ac91b2278c280 /dev-ruby
parentsci-libs/ViSP: trailing whitespace. (diff)
downloadgentoo-10b9198ca852858c271c38d4d833000030b690de.tar.gz
gentoo-10b9198ca852858c271c38d4d833000030b690de.tar.bz2
gentoo-10b9198ca852858c271c38d4d833000030b690de.zip
dev-ruby/highline: Version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/highline/Manifest1
-rw-r--r--dev-ruby/highline/highline-1.7.5.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest
index 9383db3e448a..5b12d7c6efbb 100644
--- a/dev-ruby/highline/Manifest
+++ b/dev-ruby/highline/Manifest
@@ -2,3 +2,4 @@ DIST highline-1.6.21.gem 221184 SHA256 c136298eee86ceff87baadc71d764ea07986f8980
DIST highline-1.7.1.gem 224256 SHA256 d99d40a65ea24b10e38629ccae6ab1ef466ddb3fde829b09c16a995ab9fba58c SHA512 b642c953005fb21ceef76eb5c4642b1ee8d2072ef3fea7e210d4ca12414deaad4d1323f4442f9653b54144c22a7046d5b190a776738ba06dac758bd956d50e44 WHIRLPOOL 030c9eec354634b63e0329aae9bc98ac6b5d9eee2c0b2e731732d4822db27d278a2aea06b73759539ad6b4d642a599ecdd618001e8bbb267affa5a48d3165ec3
DIST highline-1.7.2.gem 224256 SHA256 5beef0869e444075e701ffd87f47a9ebc6beb4c417976425d454d2775bdf9d91 SHA512 a53e3b5685c85b6e6a890747b95bede695cd8fed0fa3b0b43eafe2337f35f0cf846fae1fe684ac59649f95f7da422dcb30100fd46eb05ade4bdd8362cd697f0a WHIRLPOOL 05c6c8e05004c70b7fe827e7760a2ce447297c69f7c322d6842cb0c46a8b28b8506c494308bf15cfc58abfae64fa0dc1ad4f1bfa990360bed5d723dec4d80165
DIST highline-1.7.3.gem 224256 SHA256 d2f7b7bf88499a156130e40038d0b3046e1da20fd8eece46a31577a533ab2d0d SHA512 29cd6a2d77529b9c54b16cdd01866d5d779189633f39d1a3f8f36bac940e034c6073563f831d733b30a5280527f86ad6116508d6c8261af7ea09173aa5093151 WHIRLPOOL f74ce3ffe79db0553245f145c76ddf8d5438a699e7b4cd9ce2135a0738fe1fa2a45ca8ddf7fbd6e14fc3948717bcdb9c395658c968388af1f0dccc61325d5fd0
+DIST highline-1.7.5.gem 224256 SHA256 5d402f3e468a672d9921f142bbd9e0e9d46bcd5d7f1d3a6ff5bdc8f385541414 SHA512 51fdfd893bd499d3089400063cb918e0518aca18ba96f84776ed36591ad3450aca4c704ac6ad8881c6ff54bb1174f1bf9e085e587301b4292cf43d71d8281262 WHIRLPOOL 3e4cf29fe47174a2a36d1f76dc5e4239f544b09905a9e4e6f854f790e3ae5adbd75430393254f18a26e554c892b4d343068aa3dff4c190b93e50bbe6cc5514bb
diff --git a/dev-ruby/highline/highline-1.7.5.ebuild b/dev-ruby/highline/highline-1.7.5.ebuild
new file mode 100644
index 000000000000..07bc7fc67114
--- /dev/null
+++ b/dev-ruby/highline/highline-1.7.5.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
+}