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/ruby_parser: ruby_parser-3.2.2-r1.ebuild ChangeLog
Date: Tue, 29 Oct 2013 23:15:29
Message-Id: 20131029231525.65CD620047@flycatcher.gentoo.org
1 mrueg 13/10/29 23:15:25
2
3 Modified: ChangeLog
4 Added: ruby_parser-3.2.2-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.49 dev-ruby/ruby_parser/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby_parser/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby_parser/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby_parser/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby_parser/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 15 Sep 2013 09:57:13 -0000 1.48
24 +++ ChangeLog 29 Oct 2013 23:15:25 -0000 1.49
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/ruby_parser
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby_parser/ChangeLog,v 1.48 2013/09/15 09:57:13 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby_parser/ChangeLog,v 1.49 2013/10/29 23:15:25 mrueg Exp $
30 +
31 +*ruby_parser-3.2.2-r1 (30 Oct 2013)
32 +
33 + 30 Oct 2013; Manuel RĂ¼ger <mrueg@g.o> +ruby_parser-3.2.2-r1.ebuild:
34 + Add ruby20 target.
35
36 15 Sep 2013; Agostino Sarubbo <ago@g.o> ruby_parser-2.3.1-r1.ebuild,
37 ruby_parser-3.1.3.ebuild:
38
39
40
41 1.1 dev-ruby/ruby_parser/ruby_parser-3.2.2-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby_parser/ruby_parser-3.2.2-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby_parser/ruby_parser-3.2.2-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ruby_parser-3.2.2-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/ruby_parser/ruby_parser-3.2.2-r1.ebuild,v 1.1 2013/10/29 23:15:25 mrueg Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby18 ruby19 ruby20 jruby"
55
56 RUBY_FAKEGEM_TASK_DOC="docs"
57 RUBY_FAKEGEM_DOCDIR="doc"
58 RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
59
60 inherit ruby-fakegem
61
62 DESCRIPTION="A ruby parser written in pure ruby."
63 HOMEPAGE="https://github.com/seattlerb/ruby_parser"
64
65 LICENSE="MIT"
66 SLOT="3"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
68 IUSE=""
69
70 ruby_add_rdepend ">=dev-ruby/sexp_processor-4.1:4
71 !<dev-ruby/ruby_parser-2.3.1-r1"
72
73 ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )"
74 ruby_add_bdepend "test? ( >=dev-ruby/minitest-4.3 )"
75
76 all_ruby_prepare() {
77 # Remove reference to perforce method that is not in a released
78 # version of hoe-seattlerb.
79 #sed -i -e '/perforce/d' Rakefile || die
80
81 sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die
82 }
83
84 each_ruby_prepare() {
85 case ${RUBY} in
86 *jruby)
87 # Disable tests failing on jruby related to //n regexp
88 # https://github.com/seattlerb/ruby_parser/issues/117
89 rm test/test_ruby_parser.rb || die
90 ;;
91 esac
92 }