/[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.6 - (hide annotations) (download)
Thu Jul 26 11:27:19 2012 UTC (2 years, 4 months ago) by blueness
Branch: MAIN
Changes since 1.5: +2 -2 lines
Stable ppc64, bug #421615

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 ago 1.2 # Copyright 1999-2012 Gentoo Foundation
2 graaff 1.1 # Distributed under the terms of the GNU General Public License v2
3 blueness 1.6 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-2.1.2-r3.ebuild,v 1.5 2012/07/22 15:22:19 nixnut Exp $
4 graaff 1.1
5     EAPI=2
6     USE_RUBY="ruby18 ruby19 ree18 jruby"
7    
8     RUBY_FAKEGEM_TASK_TEST="test_all"
9    
10     RUBY_FAKEGEM_DOCDIR="doc"
11     RUBY_FAKEGEM_EXTRADOC="README CHANGES"
12    
13     inherit ruby-fakegem eutils
14    
15     DESCRIPTION="A builder to facilitate programatic generation of XML markup"
16     HOMEPAGE="http://rubyforge.org/projects/builder/"
17     SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
18    
19     LICENSE="MIT"
20     SLOT="0"
21 blueness 1.6 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"
22 graaff 1.1 IUSE=""
23    
24     ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
25    
26     all_ruby_prepare() {
27     sed -i -e '/rdoc\.template .*jamis/d' Rakefile || die
28    
29     epatch "${FILESDIR}"/${P}-activesupport.patch
30     epatch "${FILESDIR}"/${P}-fix-tests.patch
31     }
32    
33     each_ruby_prepare() {
34     case ${RUBY} in
35     *ruby19)
36     rm test/testblankslate.rb || die
37     ;;
38     *)
39     ;;
40     esac
41     }
42    
43     each_ruby_test() {
44     ${RUBY} -Ilib:. -S testrb test/test*.rb || die
45     }

  ViewVC Help
Powered by ViewVC 1.1.20