diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-04-02 06:37:57 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-04-02 06:37:57 +0000 |
commit | 2ff17e1b82f72e8643fad994909df9b8effefd46 (patch) | |
tree | 839017bca48f011df01c879cf57885e33c40ae40 /dev-ruby/haml | |
parent | tktreectrl shortend (diff) | |
download | gentoo-2-2ff17e1b82f72e8643fad994909df9b8effefd46.tar.gz gentoo-2-2ff17e1b82f72e8643fad994909df9b8effefd46.tar.bz2 gentoo-2-2ff17e1b82f72e8643fad994909df9b8effefd46.zip |
Also install init.rb, fixing #312693. Thanks to Simon Wells for reporting.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/haml')
-rw-r--r-- | dev-ruby/haml/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/haml/haml-2.2.22-r1.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-ruby/haml/ChangeLog b/dev-ruby/haml/ChangeLog index 2ffa49000a19..d36dfa81315f 100644 --- a/dev-ruby/haml/ChangeLog +++ b/dev-ruby/haml/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/haml # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v 1.38 2010/03/23 07:07:25 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v 1.39 2010/04/02 06:37:57 graaff Exp $ + +*haml-2.2.22-r1 (02 Apr 2010) + + 02 Apr 2010; Hans de Graaff <graaff@gentoo.org> +haml-2.2.22-r1.ebuild: + Also install init.rb, fixing #312693. Thanks to Simon Wells for reporting. *haml-2.2.22 (23 Mar 2010) diff --git a/dev-ruby/haml/haml-2.2.22-r1.ebuild b/dev-ruby/haml/haml-2.2.22-r1.ebuild new file mode 100644 index 000000000000..cd6138a0686d --- /dev/null +++ b/dev-ruby/haml/haml-2.2.22-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/haml-2.2.22-r1.ebuild,v 1.1 2010/04/02 06:37:57 graaff Exp $ + +EAPI=2 + +USE_RUBY="ruby18" + +RUBY_FAKEGEM_TASK_DOC="doc" + +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRAINSTALL="init.rb" + +inherit ruby-fakegem + +DESCRIPTION="HAML - a ruby web page templating engine" +HOMEPAGE="http://haml.hamptoncatlin.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +# TODO: haml has some emacs modes that it could be installing, in case +IUSE="" + +all_ruby_prepare() { + sed -i -e '/haml.gemspec/,/Task\[:package\]/s:^:#:' "${S}"/Rakefile +} + +each_ruby_install() { + each_fakegem_install + + # This is needed otherwise it fails at runtime + ruby_fakegem_doins VERSION VERSION_NAME +} + +# The html engine requires hpricot +ruby_add_rdepend dev-ruby/hpricot + +# It could use merb during testing as well, but it's not mandatory +ruby_add_bdepend test "virtual/ruby-test-unit dev-ruby/actionpack" +ruby_add_bdepend doc "dev-ruby/yard dev-ruby/maruku" |