Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/i18n: ChangeLog i18n-0.4.1.ebuild
Date: Tue, 31 Aug 2010 17:50:33
Message-Id: 20100831175017.B243F20051@flycatcher.gentoo.org
1 a3li 10/08/31 17:50:17
2
3 Modified: ChangeLog
4 Added: i18n-0.4.1.ebuild
5 Log:
6 Version bump. Tests run fine on ruby18 and ree18 without the gentoo patch now.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.17 dev-ruby/i18n/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 29 Jul 2010 00:12:23 -0000 1.16
23 +++ ChangeLog 31 Aug 2010 17:50:17 -0000 1.17
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/i18n
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.16 2010/07/29 00:12:23 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.17 2010/08/31 17:50:17 a3li Exp $
29 +
30 +*i18n-0.4.1 (31 Aug 2010)
31 +
32 + 31 Aug 2010; Alex Legler <a3li@g.o> +i18n-0.4.1.ebuild:
33 + Version bump. Tests run fine on ruby18 and ree18 without the gentoo patch
34 + now.
35
36 29 Jul 2010; Diego E. Pettenò <flameeyes@g.o> i18n-0.1.3.ebuild,
37 i18n-0.3.3.ebuild, i18n-0.3.7.ebuild:
38
39
40
41 1.1 dev-ruby/i18n/i18n-0.4.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/i18n-0.4.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/i18n-0.4.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: i18n-0.4.1.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/i18n/i18n-0.4.1.ebuild,v 1.1 2010/08/31 17:50:17 a3li Exp $
51
52 EAPI=2
53
54 USE_RUBY="ruby18 jruby ree18"
55
56 # doc regeneration seem to need Jeweler, which is not currently
57 # available
58 RUBY_FAKEGEM_TASK_DOC=""
59
60 RUBY_FAKEGEM_EXTRADOC="README.textile CHANGELOG.textile"
61
62 inherit ruby-fakegem versionator
63
64 DESCRIPTION="Add Internationalization support to your Ruby application."
65 HOMEPAGE="http://rails-i18n.org/"
66
67 SRC_URI="http://github.com/svenfuchs/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
68 S="${WORKDIR}/svenfuchs-${PN}-*"
69
70 LICENSE="MIT"
71 SLOT="$(get_version_component_range 1-2)"
72 KEYWORDS="~amd64 ~ia64 ~sparc ~x86 ~ppc-macos ~x64-solaris ~x86-solaris"
73 IUSE=""
74
75 DEPEND=""
76 RDEPEND="${DEPEND}"
77
78 # Optionally, the testsuite uses the activerecord gem to run some
79 # tests; whent hey run, they require sqlite3-ruby, and that is not
80 # available on JRuby.
81 USE_RUBY="${USE_RUBY/jruby/}" \
82 ruby_add_bdepend "
83 test? (
84 dev-ruby/activerecord
85 dev-ruby/sqlite3-ruby
86 dev-ruby/ruby2ruby
87 )"
88
89 # mocha is optionally used by the testsuite, try to increase coverage
90 # of testing by depending on it; when mocha is used, though,
91 # test-unit:2 cannot be merged at the same time (mocha problem?)
92 #
93 # One further test dependency would be ruby-cldr
94 # (http://rubygems.org/gems/ruby-cldr) but we don't have it in tree
95 # yet.
96 ruby_add_bdepend "
97 test? (
98 dev-ruby/mocha
99 !!dev-ruby/test-unit:2
100 )"
101
102 src_compile() {
103 # permissions need to be stricter for Ruby-Inline to work properly.
104 chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
105 ruby-ng_src_compile
106 }
107
108 src_test() {
109 # permissions need to be stricter for Ruby-Inline to work properly.
110 chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
111 ruby-ng_src_test
112 }