Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/highline: highline-1.6.19-r1.ebuild ChangeLog
Date: Sat, 05 Oct 2013 10:12:09
Message-Id: 20131005101202.87C232004C@flycatcher.gentoo.org
1 mrueg 13/10/05 10:12:02
2
3 Modified: ChangeLog
4 Added: highline-1.6.19-r1.ebuild
5 Log:
6 Add ruby20 target.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.80 dev-ruby/highline/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/ChangeLog?rev=1.80&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/ChangeLog?rev=1.80&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/ChangeLog?r1=1.79&r2=1.80
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/highline/ChangeLog,v
20 retrieving revision 1.79
21 retrieving revision 1.80
22 diff -u -r1.79 -r1.80
23 --- ChangeLog 30 Sep 2013 17:14:05 -0000 1.79
24 +++ ChangeLog 5 Oct 2013 10:12:02 -0000 1.80
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/highline
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/highline/ChangeLog,v 1.79 2013/09/30 17:14:05 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/highline/ChangeLog,v 1.80 2013/10/05 10:12:02 mrueg Exp $
30 +
31 +*highline-1.6.19-r1 (05 Oct 2013)
32 +
33 + 05 Oct 2013; Manuel RĂ¼ger <mrueg@g.o> +highline-1.6.19-r1.ebuild:
34 + Add ruby20 target.
35
36 30 Sep 2013; Agostino Sarubbo <ago@g.o> highline-1.6.19.ebuild:
37 Stable for x86, wrt bug #485788
38
39
40
41 1.1 dev-ruby/highline/highline-1.6.19-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/highline-1.6.19-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/highline/highline-1.6.19-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: highline-1.6.19-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.19-r1.ebuild,v 1.1 2013/10/05 10:12:02 mrueg Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby18 ruby19 ruby20 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 }