From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/hpricot: ChangeLog hpricot-0.8.2-r1.ebuild |
Date: | Mon, 01 Feb 2010 16:39:28 |
Message-Id: | E1NbzJ7-0004t6-3w@stork.gentoo.org |
1 | flameeyes 10/02/01 16:39:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hpricot-0.8.2-r1.ebuild |
5 | Log: |
6 | Add a patch to fix a big bug on JRuby. |
7 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.20 dev-ruby/hpricot/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/hpricot/ChangeLog?rev=1.20&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/hpricot/ChangeLog?rev=1.20&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/hpricot/ChangeLog?r1=1.19&r2=1.20 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v |
19 | retrieving revision 1.19 |
20 | retrieving revision 1.20 |
21 | diff -u -r1.19 -r1.20 |
22 | --- ChangeLog 16 Jan 2010 08:33:22 -0000 1.19 |
23 | +++ ChangeLog 1 Feb 2010 16:39:24 -0000 1.20 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-ruby/hpricot |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v 1.19 2010/01/16 08:33:22 fauli Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v 1.20 2010/02/01 16:39:24 flameeyes Exp $ |
29 | + |
30 | +*hpricot-0.8.2-r1 (01 Feb 2010) |
31 | + |
32 | + 01 Feb 2010; Diego E. Pettenò <flameeyes@g.o> |
33 | + +hpricot-0.8.2-r1.ebuild, +files/hpricot-0.8.2-jruby.patch: |
34 | + Add a patch to fix a big bug on JRuby. |
35 | |
36 | 16 Jan 2010; Christian Faulhammer <fauli@g.o> hpricot-0.8.2.ebuild: |
37 | Transfer Prefix keywords |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/hpricot/hpricot-0.8.2-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.2-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.2-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: hpricot-0.8.2-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.2-r1.ebuild,v 1.1 2010/02/01 16:39:24 flameeyes Exp $ |
51 | |
52 | EAPI=2 |
53 | |
54 | USE_RUBY="ruby18 ruby19 jruby" |
55 | |
56 | RUBY_FAKEGEM_DOCDIR="doc" |
57 | RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" |
58 | |
59 | inherit ruby-fakegem eutils |
60 | |
61 | DESCRIPTION="A fast and liberal HTML parser for Ruby." |
62 | HOMEPAGE="http://wiki.github.com/why/hpricot" |
63 | |
64 | LICENSE="MIT" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
67 | IUSE="" |
68 | |
69 | # Probably needs the same jdk as JRuby but I'm not sure how to express |
70 | # that just yet. |
71 | DEPEND="dev-util/ragel |
72 | ruby_targets_jruby? ( >=virtual/jdk-1.5 )" |
73 | |
74 | ruby_add_bdepend dev-ruby/rake |
75 | ruby_add_bdepend test virtual/ruby-test-unit |
76 | |
77 | all_ruby_prepare() { |
78 | # Fix issue #11 from upstream |
79 | epatch "${FILESDIR}"/${P}-jruby.patch |
80 | } |
81 | |
82 | each_ruby_compile() { |
83 | case $(basename ${RUBY}) in |
84 | jruby) |
85 | ${RUBY} -S rake compile_java || die "rake compile failed" |
86 | ;; |
87 | *) |
88 | ${RUBY} -S rake compile || die "rake compile failed" |
89 | ;; |
90 | esac |
91 | } |