/[gentoo-x86]/dev-ruby/builder/builder-3.0.0-r1.ebuild
Gentoo

Contents of /dev-ruby/builder/builder-3.0.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun May 6 18:08:05 2012 UTC (2 years, 3 months ago) by graaff
Branch: MAIN
Changes since 1.2: +3 -2 lines
Add explicit dependency on the rdoc gem since the rake task requires it, bug 400709.

(Portage version: 2.1.10.49/cvs/Linux x86_64)

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-3.0.0-r1.ebuild,v 1.2 2012/01/25 15:52:28 flameeyes 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
18 LICENSE="MIT"
19 SLOT="3"
20 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
21 IUSE=""
22
23 ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
24
25 RDEPEND="${RDEPEND}"
26 DEPEND+=" doc? ( dev-util/ctags )"
27
28 all_ruby_prepare() {
29 sed -i \
30 -e '/rdoc\.template .*jamis/d' \
31 -e 's:xctags:exuberant-ctags:' \
32 Rakefile || die
33
34 # Remove file that should not be part of the distribution.
35 rm test/test_cssbuilder.rb || die
36
37 epatch "${FILESDIR}"/${P}+ruby-1.9.2.patch
38 epatch "${FILESDIR}"/${P}-tests.patch
39 }

  ViewVC Help
Powered by ViewVC 1.1.20