/[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.5 - (show annotations) (download)
Sun Jul 22 15:22:19 2012 UTC (2 years, 4 months ago) by nixnut
Branch: MAIN
Changes since 1.4: +2 -2 lines
ppc stable #421615

(Portage version: 2.1.10.49/cvs/Linux ppc)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-2.1.2-r3.ebuild,v 1.4 2012/06/26 01:58:48 jdhore Exp $
4
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 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 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