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/locale: locale-2.1.0-r1.ebuild ChangeLog
Date: Fri, 24 Jan 2014 08:39:03
Message-Id: 20140124083858.0BF252004C@flycatcher.gentoo.org
1 graaff 14/01/24 08:38:57
2
3 Modified: ChangeLog
4 Added: locale-2.1.0-r1.ebuild
5 Log:
6 Add ruby20. Drop alpha, ia64, sparc keywords due to yard dependency, bug 465948.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.56 dev-ruby/locale/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/locale/ChangeLog?rev=1.56&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/locale/ChangeLog?rev=1.56&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/locale/ChangeLog?r1=1.55&r2=1.56
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/locale/ChangeLog,v
20 retrieving revision 1.55
21 retrieving revision 1.56
22 diff -u -r1.55 -r1.56
23 --- ChangeLog 24 Jan 2014 08:21:59 -0000 1.55
24 +++ ChangeLog 24 Jan 2014 08:38:57 -0000 1.56
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/locale
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/ChangeLog,v 1.55 2014/01/24 08:21:59 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/ChangeLog,v 1.56 2014/01/24 08:38:57 graaff Exp $
30 +
31 +*locale-2.1.0-r1 (24 Jan 2014)
32 +
33 + 24 Jan 2014; Hans de Graaff <graaff@g.o> +locale-2.1.0-r1.ebuild:
34 + Add ruby20. Drop alpha, ia64, sparc keywords due to yard dependency, bug
35 + 465948.
36
37 24 Jan 2014; Hans de Graaff <graaff@g.o> -locale-2.0.8.ebuild,
38 -locale-2.0.9.ebuild:
39
40
41
42 1.1 dev-ruby/locale/locale-2.1.0-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/locale/locale-2.1.0-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/locale/locale-2.1.0-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: locale-2.1.0-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/locale-2.1.0-r1.ebuild,v 1.1 2014/01/24 08:38:57 graaff Exp $
52
53 EAPI=5
54
55 USE_RUBY="ruby18 ruby19 ruby20 jruby"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58 RUBY_FAKEGEM_DOCDIR="doc/reference"
59 RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc doc/text/news.md"
60
61 RUBY_FAKEGEM_TASK_TEST="test"
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="A pure ruby library which provides basic APIs for localization."
66 HOMEPAGE="https://github.com/ruby-gettext/locale"
67 LICENSE="|| ( Ruby GPL-2 )"
68 SRC_URI="https://github.com/ruby-gettext/locale/archive/${PV}.tar.gz -> ${P}-git.tgz"
69
70 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-macos"
71 SLOT="0"
72 IUSE=""
73
74 ruby_add_bdepend "doc? ( dev-ruby/yard )"
75
76 ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/test-unit-rr )"
77
78 all_ruby_prepare() {
79 sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
80 }
81
82 each_ruby_prepare() {
83 case ${RUBY} in
84 *jruby)
85 # Avoid failing tests in the partial jruby
86 # implementation. This may be dependeny on the specific
87 # locales available or it may be an issue with Gentoo still
88 # using jruby 1.6.
89 sed -i -e '/test_locales/,/end/ s:^:#:' test/test_driver_jruby.rb || die
90 ;;
91 esac
92 }
93
94 all_ruby_compile() {
95 all_fakegem_compile
96
97 if use doc ; then
98 yard || die
99 fi
100 }
101
102 each_ruby_test() {
103 ${RUBY} test/run-test.rb || die
104 }
105
106 all_ruby_install() {
107 all_fakegem_install
108
109 insinto /usr/share/doc/${PF}
110 doins -r samples || die
111 }