/[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 - (show annotations) (download)
Tue Aug 26 05:49:53 2014 UTC (2 months 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 # Copyright 1999-2014 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.12 2014/07/06 09:10:09 graaff Exp $
4
5 EAPI=2
6 USE_RUBY="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 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