2016-03-07 19:13:31 +03:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
2014-11-10 13:31:18 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2014-11-10 13:31:18 +03:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
2016-03-18 13:02:21 +03:00
|
|
|
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
2014-11-10 13:31:18 +03:00
|
|
|
|
|
|
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="README"
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
2016-03-07 19:13:31 +03:00
|
|
|
DESCRIPTION="Base class with almost all of the methods from Object and Kernel being removed"
|
2014-11-10 13:31:18 +03:00
|
|
|
HOMEPAGE="https://rubygems.org/gems/blankslate"
|
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2015-03-21 00:08:54 +03:00
|
|
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
2014-11-10 13:31:18 +03:00
|
|
|
|
|
|
|
all_ruby_prepare() {
|
|
|
|
# Avoid test failing with rspec 2.x.
|
|
|
|
sed -i -e '/cleanliness/,/^ end/ s:^:#:' spec/blankslate_spec.rb || die
|
|
|
|
}
|