dev-ruby/highline: cleanup

Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
Hans de Graaff
2017-12-25 08:03:08 +01:00
parent 9650a71d3c
commit c8adf64b00
2 changed files with 0 additions and 40 deletions

View File

@@ -1,2 +1 @@
DIST highline-1.7.6.gem 224256 BLAKE2B d7ba7c2b850bef3741f5bf7337bec7a3cc7693ce0b8af86028b636e6f860800969a057450950b84552ed2e7f89dbf2c32fb7ee1bb42a51000bdc365acda7ab10 SHA512 0ecf743d92227c17d19649afd909ed90e27f159aa54dd3ccfa7591dc4a95e17aebd5082f9a89c5c663a7db53a8cf9a90bb28ee4b6987254edb34c1e494b4ac20
DIST highline-1.7.8.gem 224768 BLAKE2B 683fa70e3ea4bf697ab5a1cd40da2528e2586f8fe12fb0ffb799938f2bfa2efe64fe1424c0ee1f90ae3df69f86a92f44eebcbb2ab34f18b3c4cdbb143e596067 SHA512 85f57ab732009cc961b824e252f0b65bbe7c0a8c97849d453773a331016b2ea8fa0efe393bc1a0073eae6d3cf523d97b9434cd73bdceed55bc069be0b6f4b41d

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="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
}