From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/aws-s3: ChangeLog aws-s3-0.6.2.ebuild |
Date: | Wed, 29 Apr 2009 18:12:21 |
Message-Id: | E1LzEGT-0000LA-12@stork.gentoo.org |
1 | flameeyes 09/04/29 18:12:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: aws-s3-0.6.2.ebuild |
5 | Log: |
6 | Version bump, still not enabled on Ruby 1.9 since it fails tests. |
7 | (Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.2 dev-ruby/aws-s3/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/aws-s3/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/aws-s3/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/aws-s3/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/aws-s3/ChangeLog,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ChangeLog 17 Apr 2009 14:20:29 -0000 1.1 |
23 | +++ ChangeLog 29 Apr 2009 18:12:12 -0000 1.2 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-ruby/aws-s3 |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/aws-s3/ChangeLog,v 1.1 2009/04/17 14:20:29 flameeyes Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/aws-s3/ChangeLog,v 1.2 2009/04/29 18:12:12 flameeyes Exp $ |
29 | + |
30 | +*aws-s3-0.6.2 (29 Apr 2009) |
31 | + |
32 | + 29 Apr 2009; Diego E. Pettenò <flameeyes@g.o> |
33 | + +aws-s3-0.6.2.ebuild: |
34 | + Version bump, still not enabled on Ruby 1.9 since it fails tests. |
35 | |
36 | *aws-s3-0.5.1 (17 Apr 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/aws-s3/aws-s3-0.6.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/aws-s3/aws-s3-0.6.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/aws-s3/aws-s3-0.6.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: aws-s3-0.6.2.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/aws-s3/aws-s3-0.6.2.ebuild,v 1.1 2009/04/29 18:12:12 flameeyes Exp $ |
51 | |
52 | inherit ruby |
53 | |
54 | DESCRIPTION="Client library for Amazon's Simple Storage Service's REST API" |
55 | HOMEPAGE="http://amazon.rubyforge.org/" |
56 | SRC_URI="mirror://rubyforge/amazon/${P}.tar.gz" |
57 | |
58 | LICENSE="as-is" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64" |
61 | IUSE="doc test" |
62 | |
63 | RDEPEND="dev-ruby/xml-simple |
64 | dev-ruby/builder |
65 | dev-ruby/mime-types" |
66 | DEPEND="${RDEPEND} |
67 | test? ( dev-ruby/ruby-debug |
68 | dev-ruby/flexmock ) |
69 | dev-ruby/rake" |
70 | |
71 | USE_RUBY="ruby18" |
72 | |
73 | src_unpack() { |
74 | unpack ${A} |
75 | |
76 | # Remove extra files generated by Mac OS X during packaging |
77 | find "${S}" -name '._*' -delete |
78 | |
79 | # As of release 0.6.2 this part is going to break when building |
80 | # with Ruby 1.9; we disable it since we don't need it at all. |
81 | sed -i -e '/^namespace :site/,/^end/ d' "${S}"/Rakefile \ |
82 | || die "sed out of rake's :site namespace failed" |
83 | } |
84 | |
85 | src_compile() { |
86 | if use doc; then |
87 | rake doc:rerdoc || die "rake rerdoc failed" |
88 | fi |
89 | } |
90 | |
91 | src_test() { |
92 | for ruby in $USE_RUBY; do |
93 | [[ -n `type -p $ruby` ]] && $ruby $(type -p rake) test || die "testsuite failed" |
94 | done |
95 | } |
96 | |
97 | src_install() { |
98 | pushd lib |
99 | doruby -r * || die "doruby failed" |
100 | popd |
101 | |
102 | dobin bin/s3sh || die "dobin failed" |
103 | |
104 | if use doc; then |
105 | dohtml -r doc/* || die "dohtml failed" |
106 | fi |
107 | |
108 | dodoc README || die "dodoc failed" |
109 | |
110 | insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')/../gems/1.8/specifications |
111 | sed -e "s:@VERSION@:${PV}:" "${FILESDIR}"/${PN}.gemspec > "${T}"/${P}.gemspec |
112 | doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec" |
113 | } |