29 lines
676 B
Bash
29 lines
676 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
USE_RUBY="ruby23 ruby24 ruby25"
|
|
|
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
|
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="Non-timeseries measurements for Ruby programs"
|
|
HOMEPAGE="https://github.com/ddfreyne/ddmetrics/"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="1"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
ruby_add_bdepend "test? ( dev-ruby/rspec-its dev-ruby/timecop )"
|
|
|
|
all_ruby_prepare() {
|
|
sed -i -e '/simplecov/,/SimpleCov.formatter/ s:^:#:' \
|
|
-e '/fuubar/ s:^:#:' \
|
|
-e '/RSpec.configure/,/end/ s:^:#:' spec/spec_helper.rb || die
|
|
}
|