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/tzinfo: tzinfo-0.3.13.ebuild ChangeLog
Date: Mon, 20 Apr 2009 00:33:17
Message-Id: E1LvhRh-0007ZD-UX@stork.gentoo.org
1 flameeyes 09/04/20 00:33:13
2
3 Modified: tzinfo-0.3.13.ebuild ChangeLog
4 Log:
5 Install for Ruby 1.9 too, add tests for both versions, install a fake gemspec for both versions.
6 (Portage version: 2.2_rc30/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-ruby/tzinfo/tzinfo-0.3.13.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild?r1=1.1&r2=1.2
14
15 Index: tzinfo-0.3.13.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- tzinfo-0.3.13.ebuild 17 Apr 2009 12:02:39 -0000 1.1
22 +++ tzinfo-0.3.13.ebuild 20 Apr 2009 00:33:13 -0000 1.2
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild,v 1.1 2009/04/17 12:02:39 flameeyes Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild,v 1.2 2009/04/20 00:33:13 flameeyes Exp $
28
29 inherit ruby
30
31 @@ -17,7 +17,7 @@
32 DEPEND="doc? ( dev-ruby/rake )
33 test? ( dev-ruby/rake )"
34
35 -USE_RUBY="ruby18"
36 +USE_RUBY="ruby18 ruby19"
37
38 src_unpack() {
39 unpack ${A}
40 @@ -40,7 +40,9 @@
41 }
42
43 src_test() {
44 - rake test || die "rake test failed"
45 + for ruby in $USE_RUBY; do
46 + [[ -n `type -p $ruby` ]] && $ruby $(type -p rake) test || die "testsuite failed"
47 + done
48 }
49
50 src_install() {
51 @@ -52,4 +54,8 @@
52 fi
53
54 dodoc "${S}"/CHANGES "${S}"/README || die "dodoc failed"
55 +
56 + insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["vendorlibdir"]' | sed -e 's:vendor_ruby:gems:')/specifications
57 + sed -e "s:@VERSION@:${PV}:" "${FILESDIR}"/${PN}.gemspec > "${T}"/${P}.gemspec
58 + doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec"
59 }
60
61
62
63 1.30 dev-ruby/tzinfo/ChangeLog
64
65 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?rev=1.30&view=markup
66 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?rev=1.30&content-type=text/plain
67 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?r1=1.29&r2=1.30
68
69 Index: ChangeLog
70 ===================================================================
71 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v
72 retrieving revision 1.29
73 retrieving revision 1.30
74 diff -u -r1.29 -r1.30
75 --- ChangeLog 19 Apr 2009 19:03:09 -0000 1.29
76 +++ ChangeLog 20 Apr 2009 00:33:13 -0000 1.30
77 @@ -1,6 +1,11 @@
78 # ChangeLog for dev-ruby/tzinfo
79 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
80 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.29 2009/04/19 19:03:09 tcunha Exp $
81 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.30 2009/04/20 00:33:13 flameeyes Exp $
82 +
83 + 20 Apr 2009; Diego E. Pettenò <flameeyes@g.o>
84 + +files/tzinfo.gemspec, tzinfo-0.3.13:
85 + Install for Ruby 1.9 too, add tests for both versions, install a fake
86 + gemspec for both versions.
87
88 19 Apr 2009; Tiago Cunha <tcunha@g.o> tzinfo-0.3.12-r1.ebuild:
89 stable sparc, bug 266520