/[gentoo-x86]/dev-ruby/rake-compiler/rake-compiler-0.8.1-r1.ebuild
Gentoo

Contents of /dev-ruby/rake-compiler/rake-compiler-0.8.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Apr 5 23:16:30 2014 UTC (8 months, 1 week ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove ree18 and ruby18 target.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.8.1-r1.ebuild,v 1.7 2014/01/02 07:12:21 graaff Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19 jruby"
7
8 RUBY_FAKEGEM_RECIPE_TEST="none"
9
10 RUBY_FAKEGEM_TASK_DOC=""
11 RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
12
13 inherit ruby-fakegem eutils
14
15 DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions"
16 HOMEPAGE="http://github.com/luislavena/rake-compiler"
17 LICENSE="MIT"
18
19 SRC_URI="http://github.com/luislavena/${PN}/tarball/v${PV} -> ${P}.tar.gz"
20 RUBY_S="luislavena-${PN}-*"
21
22 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
23 SLOT="0"
24 IUSE=""
25
26 ruby_add_rdepend "dev-ruby/rake"
27 ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
28 USE_RUBY=${USE_RUBY/jruby/} ruby_add_bdepend "test? ( dev-util/cucumber )"
29
30 each_ruby_prepare() {
31 case ${RUBY} in
32 *ruby19|*jruby)
33 # Remove this task so that it won't load on Ruby 1.9 and JRuby
34 # that lack the package_task file. It is, though, needed for the
35 # tests
36 rm tasks/gem.rake || die
37 # Remove specs aimed at a C-compiling ruby implementation.
38 rm spec/lib/rake/extensiontask_spec.rb || die
39 ;;
40 *)
41 ;;
42 esac
43 }
44
45 each_ruby_test() {
46 ruby-ng_rspec
47 ruby-ng_cucumber
48 }

  ViewVC Help
Powered by ViewVC 1.1.20