2015-02-08 20:31:52 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2012-08-26 23:51:21 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2012-08-26 23:51:21 +04:00
|
|
|
|
2014-03-11 10:04:53 +04:00
|
|
|
EAPI=5
|
2015-03-23 09:19:11 +03:00
|
|
|
# ruby22 -> fails tests
|
2015-02-08 20:31:52 +03:00
|
|
|
USE_RUBY="ruby19 ruby20 ruby21"
|
2012-08-26 23:51:21 +04:00
|
|
|
|
|
|
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
|
|
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
|
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
2014-08-06 17:12:35 +04:00
|
|
|
DESCRIPTION="A minimal shoulda DSL built on top of MiniTest::Spec"
|
2012-08-26 23:51:21 +04:00
|
|
|
HOMEPAGE="https://github.com/seattlerb/minitest"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
ruby_add_rdepend ">dev-ruby/minitest-2.1.0"
|
|
|
|
|
|
|
|
all_ruby_prepare() {
|
|
|
|
sed -i -e '/git ls-files/d' mini_shoulda.gemspec || die
|
|
|
|
sed -i -e '/[Bb]undler/ s:^:#:' Rakefile test/test_helper.rb || die
|
|
|
|
}
|