Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/highline: ChangeLog highline-1.6.21.ebuild
Date: Sun, 02 Mar 2014 06:32:39
Message-Id: 20140302063233.832CE2004C@flycatcher.gentoo.org
1 graaff 14/03/02 06:32:33
2
3 Modified: ChangeLog
4 Added: highline-1.6.21.ebuild
5 Log:
6 Version bump. Add ruby21.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.89 dev-ruby/highline/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/ChangeLog?rev=1.89&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/ChangeLog?rev=1.89&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/ChangeLog?r1=1.88&r2=1.89
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/highline/ChangeLog,v
20 retrieving revision 1.88
21 retrieving revision 1.89
22 diff -u -r1.88 -r1.89
23 --- ChangeLog 18 Jan 2014 20:33:42 -0000 1.88
24 +++ ChangeLog 2 Mar 2014 06:32:33 -0000 1.89
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/highline
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/highline/ChangeLog,v 1.88 2014/01/18 20:33:42 mrueg Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/highline/ChangeLog,v 1.89 2014/03/02 06:32:33 graaff Exp $
30 +
31 +*highline-1.6.21 (02 Mar 2014)
32 +
33 + 02 Mar 2014; Hans de Graaff <graaff@g.o> +highline-1.6.21.ebuild:
34 + Version bump. Add ruby21.
35
36 18 Jan 2014; Manuel RĂ¼ger <mrueg@g.o> -highline-1.6.13.ebuild:
37 Cleanup old.
38
39
40
41 1.1 dev-ruby/highline/highline-1.6.21.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/highline-1.6.21.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/highline-1.6.21.ebuild?rev=1.1&content-type=text/plain
45
46 Index: highline-1.6.21.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/highline/highline-1.6.21.ebuild,v 1.1 2014/03/02 06:32:33 graaff Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby18 ruby19 ruby20 ruby21 jruby"
55
56 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
57 RUBY_FAKEGEM_DOCDIR="doc/html"
58
59 inherit ruby-fakegem
60
61 DESCRIPTION="Highline is a high-level command-line IO library for ruby."
62 HOMEPAGE="http://highline.rubyforge.org/"
63
64 IUSE=""
65 LICENSE="|| ( GPL-2 Ruby )"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
68
69 all_ruby_prepare() {
70 # fix up gemspec file not to call git
71 sed -i -e '/git ls-files/d' highline.gemspec || die
72
73 # Avoid tests that require a real console because we can't provide
74 # that when running tests through portage. These should pass when
75 # run in a console. We should probably narrow this down more to the
76 # specific tests.
77 sed -i -e '/tc_highline/ s:^:#:' test/ts_all.rb || die
78
79 sed -i -e '/test_question_options/,/^ end/ s:^:#:' \
80 -e '/test_paged_print_infinite_loop_bug/,/^ end/ s:^:#:' \
81 -e '/test_cancel_paging/,/^ end/ s:^:#:' \
82 test/tc_menu.rb || die
83 }
84
85 each_ruby_test() {
86 case ${RUBY} in
87 *jruby)
88 ewarn "Skipping tests since they hang indefinitely."
89 ;;
90 *)
91 ${RUBY} -S rake test || die
92 ;;
93 esac
94 }