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: Thu, 29 Jul 2010 17:39:25
Message-Id: 20100729173922.6CD232CE15@corvid.gentoo.org
1 flameeyes 10/07/29 17:39:22
2
3 Modified: ChangeLog ruby-shout-2.1-r2.ebuild
4 Log:
5 Remove support for Ruby 1.9 (patch left undefined symbols), simplify ebuild.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.13 dev-ruby/ruby-shout/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-shout/ChangeLog?rev=1.13&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-shout/ChangeLog?rev=1.13&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-shout/ChangeLog?r1=1.12&r2=1.13
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ChangeLog,v
18 retrieving revision 1.12
19 retrieving revision 1.13
20 diff -u -r1.12 -r1.13
21 --- ChangeLog 29 Jan 2010 12:38:42 -0000 1.12
22 +++ ChangeLog 29 Jul 2010 17:39:22 -0000 1.13
23 @@ -1,6 +1,11 @@
24 # ChangeLog for dev-ruby/ruby-shout
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ChangeLog,v 1.12 2010/01/29 12:38:42 flameeyes Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ChangeLog,v 1.13 2010/07/29 17:39:22 flameeyes Exp $
28 +
29 + 29 Jul 2010; Diego E. Pettenò <flameeyes@g.o>
30 + ruby-shout-2.1-r2.ebuild, -files/ruby-shout-2.1+ruby-1.9.patch:
31 + Remove support for Ruby 1.9 (patch left undefined symbols), simplify
32 + ebuild.
33
34 29 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
35 ruby-shout-2.1-r2.ebuild:
36
37
38
39 1.3 dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild?r1=1.2&r2=1.3
44
45 Index: ruby-shout-2.1-r2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- ruby-shout-2.1-r2.ebuild 29 Jan 2010 12:38:42 -0000 1.2
52 +++ ruby-shout-2.1-r2.ebuild 29 Jul 2010 17:39:22 -0000 1.3
53 @@ -1,10 +1,10 @@
54 # Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild,v 1.2 2010/01/29 12:38:42 flameeyes Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-shout/ruby-shout-2.1-r2.ebuild,v 1.3 2010/07/29 17:39:22 flameeyes Exp $
58
59 EAPI=2
60
61 -USE_RUBY="ruby18 ruby19"
62 +USE_RUBY="ruby18"
63
64 RUBY_FAKEGEM_TASK_TEST=""
65 RUBY_FAKEGEM_TASK_DOC=""
66 @@ -21,29 +21,21 @@
67 KEYWORDS="~amd64 ~ppc ~x86"
68 IUSE=""
69
70 -RDEPEND=">=media-libs/libshout-2.0"
71 -DEPEND="${RDEPEND}"
72 -
73 -all_ruby_prepare() {
74 - epatch "${FILESDIR}"/${P}+ruby-1.9.patch
75 -}
76 +RDEPEND="${RDEPEND}
77 + >=media-libs/libshout-2.0"
78 +DEPEND="${DEPEND}
79 + >=media-libs/libshout-2.0"
80
81 each_ruby_configure() {
82 - pushd ext &>/dev/null
83 - ${RUBY} extconf.rb || die "extconf failed"
84 - popd &>/dev/null
85 + ${RUBY} -Cext extconf.rb || die "extconf failed"
86 }
87
88 each_ruby_compile() {
89 - pushd ext &>/dev/null
90 - emake || die "emake failed"
91 - popd &>/dev/null
92 + emake -C ext || die "emake failed"
93 }
94
95 each_ruby_install() {
96 each_fakegem_install
97
98 - pushd ext &>/dev/null
99 - ruby_fakegem_newins ${PN#ruby-}.so lib/${PN#ruby-}.so
100 - popd &>/dev/null
101 + ruby_fakegem_newins ext/${PN#ruby-}.so lib/${PN#ruby-}.so
102 }