/[gentoo-x86]/dev-ruby/haml/haml-3.1.6.ebuild
Gentoo

Contents of /dev-ruby/haml/haml-3.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jan 16 00:58:44 2013 UTC (14 months, 4 weeks ago) by zerochaos
Branch: MAIN
Changes since 1.3: +3 -3 lines
adding ~arm keywords to net-analyzer/metasploit rdeps

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

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/haml/haml-3.1.6.ebuild,v 1.3 2012/09/27 09:54:28 ssuominen Exp $
4
5 EAPI=4
6
7 USE_RUBY="ruby18 ruby19 ree18"
8
9 RUBY_FAKEGEM_TASK_TEST="test"
10 RUBY_FAKEGEM_TASK_DOC="doc"
11
12 RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING README.md"
13 RUBY_FAKEGEM_DOCDIR="doc"
14
15 RUBY_FAKEGEM_EXTRAINSTALL="init.rb rails VERSION VERSION_NAME"
16
17 inherit ruby-fakegem
18
19 DESCRIPTION="HAML - a ruby web page templating engine"
20 HOMEPAGE="http://haml-lang.com/"
21
22 LICENSE="MIT"
23 SLOT="0"
24 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
25
26 # TODO: haml has some emacs modes that it could be installing, in case
27 IUSE=""
28
29 ruby_add_rdepend "dev-ruby/sass"
30
31 # It could use merb during testing as well, but it's not mandatory
32 ruby_add_bdepend "
33 test? (
34 dev-ruby/hpricot
35 dev-ruby/erubis
36 dev-ruby/rails
37 dev-ruby/ruby_parser
38 )
39 doc? (
40 dev-ruby/yard
41 dev-ruby/maruku
42 )"
43
44 all_ruby_prepare() {
45 # unbundle sass; remove dependency over fssm and add one over sass
46 # itself.
47 rm -r vendor/ || die
48
49 pushd .. &>/dev/null
50 epatch "${FILESDIR}"/${P}-sass.patch
51 sed -i \
52 -e '/vendor\//d' \
53 metadata || die
54 popd &>/dev/null
55 }

  ViewVC Help
Powered by ViewVC 1.1.20