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/ruby-gettext: ChangeLog ruby-gettext-2.1.0_p20100728-r3.ebuild
Date: Mon, 28 Nov 2011 19:34:10
Message-Id: 20111128193358.8DF972004B@flycatcher.gentoo.org
1 graaff 11/11/28 19:33:58
2
3 Modified: ChangeLog
4 Added: ruby-gettext-2.1.0_p20100728-r3.ebuild
5 Log:
6 Fix compatibility with newer versions of rubygems. Fix provided by Tomoh K. in bug 391059.
7
8 (Portage version: 2.1.10.11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.76 dev-ruby/ruby-gettext/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-gettext/ChangeLog?rev=1.76&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-gettext/ChangeLog?rev=1.76&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-gettext/ChangeLog?r1=1.75&r2=1.76
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ChangeLog,v
20 retrieving revision 1.75
21 retrieving revision 1.76
22 diff -u -r1.75 -r1.76
23 --- ChangeLog 23 Oct 2011 15:53:10 -0000 1.75
24 +++ ChangeLog 28 Nov 2011 19:33:58 -0000 1.76
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-ruby/ruby-gettext
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ChangeLog,v 1.75 2011/10/23 15:53:10 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ChangeLog,v 1.76 2011/11/28 19:33:58 graaff Exp $
30 +
31 +*ruby-gettext-2.1.0_p20100728-r3 (28 Nov 2011)
32 +
33 + 28 Nov 2011; Hans de Graaff <graaff@g.o>
34 + +ruby-gettext-2.1.0_p20100728-r3.ebuild,
35 + +files/ruby-gettext-rubygems-load-path.patch:
36 + Fix compatibility with newer versions of rubygems. Fix provided by Tomoh K.
37 + in bug 391059.
38
39 23 Oct 2011; Raúl Porcel <armin76@g.o>
40 ruby-gettext-2.1.0_p20100728-r1.ebuild:
41
42
43
44 1.1 dev-ruby/ruby-gettext/ruby-gettext-2.1.0_p20100728-r3.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-2.1.0_p20100728-r3.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-2.1.0_p20100728-r3.ebuild?rev=1.1&content-type=text/plain
48
49 Index: ruby-gettext-2.1.0_p20100728-r3.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-2.1.0_p20100728-r3.ebuild,v 1.1 2011/11/28 19:33:58 graaff Exp $
54
55 EAPI=2
56
57 USE_RUBY="ruby18 ruby19 jruby ree18"
58
59 RUBY_FAKEGEM_NAME="${PN/ruby-/}"
60 RUBY_FAKEGEM_VERSION="${PV%_*}"
61
62 RUBY_FAKEGEM_TASK_DOC="rerdoc"
63 RUBY_FAKEGEM_DOCDIR="doc"
64 RUBY_FAKEGEM_EXTRADOC="ChangeLog ChangeLog-1 NEWS-1 README.rdoc"
65
66 RUBY_FAKEGEM_TASK_TEST="test"
67
68 RUBY_FAKEGEM_EXTRAINSTALL="data"
69
70 inherit ruby-fakegem
71
72 DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package"
73 HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html"
74 SRC_URI="http://dev.a3li.li/gentoo/distfiles/${P}.tar.bz2"
75
76 KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~x86-macos"
77 IUSE=""
78 SLOT="0"
79 LICENSE="Ruby"
80
81 ruby_add_rdepend ">=dev-ruby/locale-2.0.5"
82
83 RDEPEND="${RDEPEND}
84 sys-devel/gettext"
85 DEPEND="${DEPEND}
86 sys-devel/gettext"
87
88 ruby_add_bdepend "test? ( || ( virtual/ruby-test-unit dev-ruby/test-unit:2 ) )"
89
90 all_ruby_prepare() {
91 # Allison 2.0.3 produces illegal HTML which markaby doesn't like.
92 sed -i '/allison/d' Rakefile || die
93
94 epatch "${FILESDIR}/${PN}-rubygems-load-path.patch"
95 }
96
97 each_ruby_test() {
98 # Upstream tries to daisy-chain rake calls but they fail badly
99 # with our setup, so run it manually.
100 pushd test
101 ${RUBY} -S rake test || die "tests failed"
102 popd
103 }
104
105 all_ruby_install() {
106 all_fakegem_install
107
108 insinto /usr/share/doc/${PF}
109 doins -r samples || die
110 }