/[gentoo-x86]/dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild
Gentoo

Contents of /dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jan 18 09:56:05 2014 UTC (6 months, 1 week ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove masked package actionwebservice.

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionwebservice/actionwebservice-2.3.5-r1.ebuild,v 1.2 2012/08/16 03:49:45 flameeyes Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18"
7
8 MY_OWNER="panztel"
9
10 RUBY_FAKEGEM_NAME="${MY_OWNER}-${PN}"
11
12 RUBY_FAKEGEM_DOCDIR="doc"
13 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README TODO"
14
15 RUBY_FAKEGEM_EXTRAINSTALL="generators"
16
17 inherit ruby-fakegem
18
19 DESCRIPTION="Simple Support for Web Services APIs for Rails"
20 HOMEPAGE="http://github.com/${MY_OWNER}/${PN}"
21
22 LICENSE="MIT"
23 SLOT="2.3"
24 KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
25 IUSE=""
26
27 ruby_add_rdepend ">=dev-ruby/actionpack-2.3.5:2.3
28 >=dev-ruby/activerecord-2.3.5:2.3"
29
30 # it uses activerecord when running tests, but they don't work so
31 # ignore them for now.
32 #ruby_add_bdepend test 'dev-ruby/sqlite3'
33 RESTRICT=test
34
35 all_ruby_prepare() {
36 # fix dependencies so that instead of requiring _exactly_ versions
37 # 2.3.5 of Rails gems, it requires the 2.3 slot as we do above.
38 sed -i -e 's:"=":"~>":' \
39 ../metadata || die
40 }
41
42 all_ruby_install() {
43 all_fakegem_install
44
45 pushd examples
46 insinto /usr/share/doc/${PF}/examples
47 doins -r *
48 popd
49 }

  ViewVC Help
Powered by ViewVC 1.1.20