Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/racc: ChangeLog racc-1.4.6.ebuild
Date: Fri, 25 Dec 2009 18:06:37
Message-Id: E1NOEYX-0005DK-2U@stork.gentoo.org
1 flameeyes 09/12/25 18:06:29
2
3 Modified: ChangeLog
4 Added: racc-1.4.6.ebuild
5 Log:
6 Version bump and port to ruby-fakegem. This also adds support for Ruby 1.9.
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.44 dev-ruby/racc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/racc/ChangeLog?rev=1.44&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/racc/ChangeLog?rev=1.44&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/racc/ChangeLog?r1=1.43&r2=1.44
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v
19 retrieving revision 1.43
20 retrieving revision 1.44
21 diff -u -r1.43 -r1.44
22 --- ChangeLog 14 Jul 2009 17:15:57 -0000 1.43
23 +++ ChangeLog 25 Dec 2009 18:06:28 -0000 1.44
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/racc
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.43 2009/07/14 17:15:57 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.44 2009/12/25 18:06:28 flameeyes Exp $
29 +
30 +*racc-1.4.6 (25 Dec 2009)
31 +
32 + 25 Dec 2009; Diego E. Pettenò <flameeyes@g.o> +racc-1.4.6.ebuild:
33 + Version bump and port to ruby-fakegem. This also adds support for Ruby
34 + 1.9.
35
36 14 Jul 2009; Hans de Graaff <graaff@g.o> racc-1.4.5.ebuild:
37 Remove ruby19 keyword: not compatible. See bug 276631, thanks to Kevin
38
39
40
41 1.1 dev-ruby/racc/racc-1.4.6.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/racc/racc-1.4.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/racc/racc-1.4.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: racc-1.4.6.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.6.ebuild,v 1.1 2009/12/25 18:06:28 flameeyes Exp $
51
52 EAPI=2
53
54 USE_RUBY="ruby18 ruby19"
55
56 RUBY_FAKEGEM_TASK_DOC=""
57 RUBY_FAKEGEM_EXTRADOC="README.en.rdoc README.ja.rdoc TODO ChangeLog"
58
59 inherit ruby-fakegem
60
61 DESCRIPTION="A LALR(1) parser generator for Ruby"
62 HOMEPAGE="http://www.loveruby.net/en/racc.html"
63
64 LICENSE="LGPL-2.1"
65 SLOT="0"
66
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
68 IUSE=""
69
70 ruby_add_bdepend test virtual/ruby-test-unit
71
72 all_ruby_prepare() {
73 sed -i -e '/tasks\/email/s:^:#:' Rakefile || die "rakefile fix failed"
74 sed -i -e '/prerequisites/s:^:#:' tasks/test.rb || die "test task fix failed"
75 sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed"
76 }
77
78 each_ruby_prepare() {
79 if [[ $(basename ${RUBY}) == "ruby18" ]]; then
80 sed -i -e 's:ruby/ruby.h:ruby.h:' \
81 ext/racc/cparse/cparse.c || die
82 fi
83 }
84
85 each_ruby_compile() {
86 ${RUBY} -S rake build || die "build failed"
87 }
88
89 each_ruby_install() {
90 each_fakegem_install
91 ruby_fakegem_newins ext/racc/cparse/cparse.so lib/racc/cparse.so
92 }
93
94 all_ruby_install() {
95 all_fakegem_install
96
97 docinto examples
98 dodoc sample/* || die
99 }