/[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.8 - (show annotations) (download)
Tue Nov 6 16:59:41 2012 UTC (20 months, 2 weeks ago) by jer
Branch: MAIN
Changes since 1.7: +2 -2 lines
Stable for HPPA (bug #421615).

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)

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.7 2012/10/27 18:29:51 armin76 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