/[gentoo-x86]/dev-ruby/builder/builder-2.1.2-r3.ebuild
Gentoo

Contents of /dev-ruby/builder/builder-2.1.2-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Sat Apr 5 23:43:17 2014 UTC (4 years ago) by mrueg
Branch: MAIN
Changes since 1.10: +2 -2 lines
Remove ree18 and ruby18 target.

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

1 graaff 1.10 # Copyright 1999-2014 Gentoo Foundation
2 graaff 1.1 # Distributed under the terms of the GNU General Public License v2
3 mrueg 1.11 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-2.1.2-r3.ebuild,v 1.10 2014/01/05 10:53:57 graaff Exp $
4 graaff 1.1
5     EAPI=2
6 mrueg 1.11 USE_RUBY="ruby19 jruby"
7 graaff 1.1
8     RUBY_FAKEGEM_TASK_TEST="test_all"
9    
10 graaff 1.9 RUBY_FAKEGEM_TASK_DOC=""
11 graaff 1.1 RUBY_FAKEGEM_DOCDIR="doc"
12     RUBY_FAKEGEM_EXTRADOC="README CHANGES"
13    
14     inherit ruby-fakegem eutils
15    
16     DESCRIPTION="A builder to facilitate programatic generation of XML markup"
17     HOMEPAGE="http://rubyforge.org/projects/builder/"
18     SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
19    
20     LICENSE="MIT"
21     SLOT="0"
22 graaff 1.10 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
23 graaff 1.1 IUSE=""
24    
25     ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
26    
27     all_ruby_prepare() {
28     sed -i -e '/rdoc\.template .*jamis/d' Rakefile || die
29    
30     epatch "${FILESDIR}"/${P}-activesupport.patch
31     epatch "${FILESDIR}"/${P}-fix-tests.patch
32     }
33    
34     each_ruby_prepare() {
35     case ${RUBY} in
36     *ruby19)
37     rm test/testblankslate.rb || die
38     ;;
39     *)
40     ;;
41     esac
42     }
43    
44     each_ruby_test() {
45     ${RUBY} -Ilib:. -S testrb test/test*.rb || die
46     }

  ViewVC Help
Powered by ViewVC 1.1.20