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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Dec 21 10:38:28 2011 UTC (2 years, 11 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Bump EAPI and fix gem specification to accept more than just 2.3.5 versions of Rails gems (in the 2.3 slot).

(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.ebuild,v 1.2 2010/06/12 19:05:41 graaff Exp $
4
5 EAPI=2
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*
28 =dev-ruby/activerecord-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-ruby'
33 RESTRICT=test
34
35 each_ruby_install() {
36 each_fakegem_install
37 }
38
39 all_ruby_install() {
40 all_fakegem_install
41
42 pushd examples
43 insinto /usr/share/doc/${PF}/examples
44 doins -r *
45 popd
46 }

  ViewVC Help
Powered by ViewVC 1.1.20