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/merb-core/merb-core-1.1.3.ebuild

41 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/merb-core/merb-core-1.1.3.ebuild,v 1.4 2012/08/11 11:23:17 hollow Exp $
EAPI="2"
USE_RUBY="ruby18 ruby19"
# Tools to generate docs are missing from gem distribution.
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
# Specs use a convoluted scheme to handle multiple ruby implementations
# (and getting it wrong) and dependencies are missing
# (e.g. memcache). Skip for now.
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG PUBLIC_CHANGELOG README TODO"
inherit ruby-fakegem
DESCRIPTION="Pocket rocket web framework"
HOMEPAGE="http://merbivore.com"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
ruby_add_bdepend "doc? ( dev-ruby/rspec:0 )"
ruby_add_rdepend "dev-ruby/bundler
>=dev-ruby/erubis-2.6.2
>=dev-ruby/extlib-0.9.13
>=dev-ruby/mime-types-1.16
dev-ruby/rack
dev-ruby/rake"
all_ruby_prepare() {
# Remove unpackaged tool so that we can use the Rakefile.
sed -i '/annotation_extract/d' Rakefile || die
}