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/ruby-shout: ChangeLog ruby-shout-2.1-r2.ebuild
Date: Fri, 29 Jan 2010 11:58:07
Message-Id: E1NapUD-0007Vw-8I@stork.gentoo.org
1 flameeyes 10/01/29 11:58:05
2
3 Modified: ChangeLog
4 Added: ruby-shout-2.1-r2.ebuild
5 Log:
6 Import the Ruby 1.9 patch from overlay, and move to fakegem (with support for Ruby 1.9).
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.11 dev-ruby/ruby-shout/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-shout/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-shout/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-shout/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 24 Dec 2009 17:12:49 -0000 1.10
23 +++ ChangeLog 29 Jan 2010 11:58:04 -0000 1.11
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-ruby/ruby-shout
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ChangeLog,v 1.10 2009/12/24 17:12:49 graaff Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ChangeLog,v 1.11 2010/01/29 11:58:04 flameeyes Exp $
30 +
31 +*ruby-shout-2.1-r2 (29 Jan 2010)
32 +
33 + 29 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
34 + +ruby-shout-2.1-r2.ebuild, +files/ruby-shout-2.1+ruby-1.9.patch:
35 + Import the Ruby 1.9 patch from overlay, and move to fakegem (with support
36 + for Ruby 1.9).
37
38 24 Dec 2009; Hans de Graaff <graaff@g.o> ruby-shout-2.1-r1.ebuild:
39 Remove obsolete virtual/ruby dependency.
40
41
42
43 1.1 dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ruby-shout-2.1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild,v 1.1 2010/01/29 11:58:04 flameeyes Exp $
53
54 EAPI=2
55
56 USE_RUBY="ruby18 ruby19"
57
58 RUBY_FAKEGEM_TASK_TEST=""
59 RUBY_FAKEGEM_TASK_DOC=""
60
61 RUBY_FAKEGEM_EXTRADOC="README example.rb"
62
63 inherit ruby-fakegem eutils
64
65 DESCRIPTION="A Ruby interface to libshout2"
66 HOMEPAGE="http://ruby-shout.rubyforge.org/"
67
68 LICENSE="Ruby"
69 SLOT="0"
70 KEYWORDS="~amd64 ~ppc ~x86"
71 IUSE=""
72
73 RDEPEND=">=media-libs/libshout-2.0"
74 DEPEND="${RDEPEND}"
75
76 all_ruby_prepare() {
77 epatch "${FILESDIR}"/${P}+ruby-1.9.patch
78 }
79
80 each_ruby_configure() {
81 pushd ext &>/dev/null
82 ${RUBY} extconf.rb || die "extconf failed"
83 popd &>/dev/null
84 }
85
86 each_ruby_compile() {
87 pushd ext &>/dev/null
88 emake || die "emake failed"
89 popd &>/dev/null
90 }
91
92 each_ruby_install() {
93 pushd ext &>/dev/null
94 ruby_fakegem_doins ${PN#ruby-}.so
95 popd &>/dev/null
96 }