You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/hiera/hiera-1.2.1-r1.ebuild

33 lines
805 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hiera/hiera-1.2.1-r1.ebuild,v 1.1 2013/11/11 13:24:45 mrueg Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ruby20 jruby"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="A simple pluggable Hierarchical Database"
HOMEPAGE="http://projects.puppetlabs.com/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
ruby_add_bdepend "test? ( dev-ruby/mocha )"
ruby_add_rdepend "dev-ruby/json"
all_ruby_prepare() {
# Our json package is either the compiled version or the pure
# version. Fix gemspec accordingly.
sed -i -e 's/json_pure/json/' ../metadata || die
}