/[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.13 - (hide annotations) (download)
Tue Aug 26 05:49:53 2014 UTC (7 weeks, 6 days ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Cleanup.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

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 graaff 1.13 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-2.1.2-r3.ebuild,v 1.12 2014/07/06 09:10:09 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     all_ruby_prepare() {
26     sed -i -e '/rdoc\.template .*jamis/d' Rakefile || die
27    
28     epatch "${FILESDIR}"/${P}-activesupport.patch
29     epatch "${FILESDIR}"/${P}-fix-tests.patch
30     }
31    
32     each_ruby_prepare() {
33     case ${RUBY} in
34     *ruby19)
35     rm test/testblankslate.rb || die
36     ;;
37     *)
38     ;;
39     esac
40     }
41    
42     each_ruby_test() {
43     ${RUBY} -Ilib:. -S testrb test/test*.rb || die
44     }

  ViewVC Help
Powered by ViewVC 1.1.20