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/actionwebservice: actionwebservice-2.3.5-r1.ebuild ChangeLog actionwebservice-2.3.5.ebuild
Date: Wed, 21 Dec 2011 10:38:38
Message-Id: 20111221103828.847BA2004B@flycatcher.gentoo.org
1 flameeyes 11/12/21 10:38:28
2
3 Modified: ChangeLog
4 Added: actionwebservice-2.3.5-r1.ebuild
5 Removed: actionwebservice-2.3.5.ebuild
6 Log:
7 Bump EAPI and fix gem specification to accept more than just 2.3.5 versions of Rails gems (in the 2.3 slot).
8
9 (Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.79 dev-ruby/actionwebservice/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionwebservice/ChangeLog?rev=1.79&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionwebservice/ChangeLog?rev=1.79&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionwebservice/ChangeLog?r1=1.78&r2=1.79
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/ChangeLog,v
21 retrieving revision 1.78
22 retrieving revision 1.79
23 diff -u -r1.78 -r1.79
24 --- ChangeLog 12 Jun 2010 19:06:56 -0000 1.78
25 +++ ChangeLog 21 Dec 2011 10:38:28 -0000 1.79
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-ruby/actionwebservice
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/ChangeLog,v 1.78 2010/06/12 19:06:56 graaff Exp $
30 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/ChangeLog,v 1.79 2011/12/21 10:38:28 flameeyes Exp $
32 +
33 +*actionwebservice-2.3.5-r1 (21 Dec 2011)
34 +
35 + 21 Dec 2011; Diego E. Pettenò <flameeyes@g.o>
36 + +actionwebservice-2.3.5-r1.ebuild, -actionwebservice-2.3.5.ebuild:
37 + Bump EAPI and fix gem specification to accept more than just 2.3.5 versions of
38 + Rails gems (in the 2.3 slot).
39
40 12 Jun 2010; Hans de Graaff <graaff@g.o>
41 -actionwebservice-2.3.2.ebuild, -actionwebservice-2.3.3.ebuild,
42
43
44
45 1.1 dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: actionwebservice-2.3.5-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild,v 1.1 2011/12/21 10:38:28 flameeyes Exp $
55
56 EAPI=4
57 USE_RUBY="ruby18"
58
59 MY_OWNER="panztel"
60
61 RUBY_FAKEGEM_NAME="${MY_OWNER}-${PN}"
62
63 RUBY_FAKEGEM_DOCDIR="doc"
64 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README TODO"
65
66 RUBY_FAKEGEM_EXTRAINSTALL="generators"
67
68 inherit ruby-fakegem
69
70 DESCRIPTION="Simple Support for Web Services APIs for Rails"
71 HOMEPAGE="http://github.com/${MY_OWNER}/${PN}"
72
73 LICENSE="MIT"
74 SLOT="2.3"
75 KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
76 IUSE=""
77
78 ruby_add_rdepend ">=dev-ruby/actionpack-2.3.5:2.3
79 >=dev-ruby/activerecord-2.3.5:2.3"
80
81 # it uses activerecord when running tests, but they don't work so
82 # ignore them for now.
83 #ruby_add_bdepend test 'dev-ruby/sqlite3-ruby'
84 RESTRICT=test
85
86 all_ruby_prepare() {
87 # fix dependencies so that instead of requiring _exactly_ versions
88 # 2.3.5 of Rails gems, it requires the 2.3 slot as we do above.
89 sed -i -e 's:"=":"~>":' \
90 ../metadata || die
91 }
92
93 all_ruby_install() {
94 all_fakegem_install
95
96 pushd examples
97 insinto /usr/share/doc/${PF}/examples
98 doins -r *
99 popd
100 }