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/hpricot: hpricot-0.8.5.ebuild ChangeLog
Date: Tue, 27 Dec 2011 07:52:41
Message-Id: 20111227075231.AC4592004B@flycatcher.gentoo.org
1 graaff 11/12/27 07:52:31
2
3 Modified: ChangeLog
4 Added: hpricot-0.8.5.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.34 dev-ruby/hpricot/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/hpricot/ChangeLog?rev=1.34&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/hpricot/ChangeLog?rev=1.34&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/hpricot/ChangeLog?r1=1.33&r2=1.34
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v
20 retrieving revision 1.33
21 retrieving revision 1.34
22 diff -u -r1.33 -r1.34
23 --- ChangeLog 7 Aug 2011 14:02:15 -0000 1.33
24 +++ ChangeLog 27 Dec 2011 07:52:31 -0000 1.34
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/hpricot
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v 1.33 2011/08/07 14:02:15 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/ChangeLog,v 1.34 2011/12/27 07:52:31 graaff Exp $
30 +
31 +*hpricot-0.8.5 (27 Dec 2011)
32 +
33 + 27 Dec 2011; Hans de Graaff <graaff@g.o> +hpricot-0.8.5.ebuild:
34 + Version bump.
35
36 07 Aug 2011; Raúl Porcel <armin76@g.o> hpricot-0.8.4.ebuild,
37 hpricot-0.8.4-r1.ebuild:
38
39
40
41 1.1 dev-ruby/hpricot/hpricot-0.8.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hpricot-0.8.5.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.5.ebuild,v 1.1 2011/12/27 07:52:31 graaff Exp $
51
52 EAPI=2
53
54 USE_RUBY="ruby18 ree18 ruby19 jruby"
55
56 RUBY_FAKEGEM_DOCDIR="doc"
57 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
58
59 inherit ruby-fakegem eutils
60
61 DESCRIPTION="A fast and liberal HTML parser for Ruby."
62 HOMEPAGE="http://wiki.github.com/hpricot/hpricot"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~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="${DEPEND}
72 dev-util/ragel
73 ruby_targets_jruby? ( >=virtual/jdk-1.5 )"
74 RDEPEND="${RDEPEND}"
75
76 ruby_add_bdepend "dev-ruby/rake
77 dev-ruby/rake-compiler
78 test? ( virtual/ruby-test-unit )"
79
80 all_ruby_prepare() {
81 sed -i -e '/bundler/ s:^:#:' Rakefile || die
82
83 # Fix encoding assumption of environment for Ruby 1.9.
84 # https://github.com/hpricot/hpricot/issues/52
85 sed -i -e '1 iEncoding.default_external=Encoding::UTF_8 if RUBY_VERSION =~ /1.9/' test/load_files.rb || die
86 }
87
88 each_ruby_compile() {
89 case $(basename ${RUBY}) in
90 jruby)
91 ${RUBY} -S rake compile_java || die "rake compile failed"
92 ;;
93 *)
94 ${RUBY} -S rake compile || die "rake compile failed"
95 ;;
96 esac
97 }