1 |
flameeyes 09/10/27 10:06:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tzinfo-0.3.15.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.39 dev-ruby/tzinfo/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?rev=1.39&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?rev=1.39&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/ChangeLog?r1=1.38&r2=1.39 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v |
19 |
retrieving revision 1.38 |
20 |
retrieving revision 1.39 |
21 |
diff -u -r1.38 -r1.39 |
22 |
--- ChangeLog 25 Oct 2009 11:51:47 -0000 1.38 |
23 |
+++ ChangeLog 27 Oct 2009 10:06:35 -0000 1.39 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-ruby/tzinfo |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.38 2009/10/25 11:51:47 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.39 2009/10/27 10:06:35 flameeyes Exp $ |
29 |
+ |
30 |
+*tzinfo-0.3.15 (27 Oct 2009) |
31 |
+ |
32 |
+ 27 Oct 2009; Diego E. Pettenò <flameeyes@g.o> |
33 |
+ +tzinfo-0.3.15.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
25 Oct 2009; Markus Meier <maekke@g.o> tzinfo-0.3.13.ebuild: |
37 |
amd64/x86 stable, bug #282207 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/tzinfo/tzinfo-0.3.15.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.15.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.15.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: tzinfo-0.3.15.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.15.ebuild,v 1.1 2009/10/27 10:06:35 flameeyes Exp $ |
51 |
|
52 |
inherit ruby |
53 |
|
54 |
DESCRIPTION="Library to provide daylight-savings aware transformations between timezones" |
55 |
HOMEPAGE="http://tzinfo.rubyforge.org/" |
56 |
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz" |
57 |
|
58 |
LICENSE="MIT" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="doc test" |
62 |
|
63 |
RDEPEND="" |
64 |
DEPEND="doc? ( dev-ruby/rake ) |
65 |
test? ( dev-ruby/rake )" |
66 |
|
67 |
USE_RUBY="ruby18 ruby19" |
68 |
|
69 |
src_unpack() { |
70 |
unpack ${A} |
71 |
|
72 |
# The package has all the files executable, probably coming from |
73 |
# Windows. |
74 |
find "${S}" -type f -perm +111 -exec chmod -x {} + |
75 |
|
76 |
# With rubygems 1.3.1 we get the following warning |
77 |
# warning: Insecure world writable dir /var/tmp in LOAD_PATH, mode 041777 |
78 |
# when running the test_get_tainted_not_loaded test. |
79 |
sed -i -e '138,146s:^:#:' "${S}"/test/tc_timezone.rb || die "unable to sed out the test" |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
if use doc; then |
84 |
rake rerdoc || die "rake rerdoc failed" |
85 |
fi |
86 |
} |
87 |
|
88 |
src_test() { |
89 |
for ruby in $USE_RUBY; do |
90 |
[[ -n `type -p $ruby` ]] || continue |
91 |
$ruby $(type -p rake) test || die "testsuite failed" |
92 |
done |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
cd "${S}"/lib |
97 |
doruby -r * || die "doruby failed" |
98 |
|
99 |
if use doc; then |
100 |
dohtml -r "${S}"/doc/* || die "dohtml failed" |
101 |
fi |
102 |
|
103 |
dodoc "${S}"/CHANGES "${S}"/README || die "dodoc failed" |
104 |
|
105 |
insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["vendorlibdir"]' | sed -e 's:vendor_ruby:gems:')/specifications |
106 |
sed -e "s:@VERSION@:${PV}:" "${FILESDIR}"/${PN}.gemspec > "${T}"/${P}.gemspec |
107 |
doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec" |
108 |
} |