/[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.9 - (show annotations) (download)
Sun Nov 10 08:31:46 2013 UTC (4 years, 10 months ago) by graaff
Branch: MAIN
Changes since 1.8: +4 -3 lines
Stop building documentation since it is no longer compatible with recent versions of rubygems and rdoc.

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

1 # Copyright 1999-2013 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.8 2012/11/06 16:59:41 jer Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18 ruby19 jruby"
7
8 RUBY_FAKEGEM_TASK_TEST="test_all"
9
10 RUBY_FAKEGEM_TASK_DOC=""
11 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 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 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