mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 04:37:06 -08:00
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
32 lines
633 B
Bash
32 lines
633 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
|
|
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
|
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="Adds support for memoizing functions"
|
|
HOMEPAGE="https://github.com/ddfreyne/ddmemoize/"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="1"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
ruby_add_rdepend "
|
|
dev-ruby/ddmetrics:1
|
|
dev-ruby/ref:2
|
|
"
|
|
|
|
all_ruby_prepare() {
|
|
sed -i -e '/simplecov/,/^SimpleCov.formatter/ s:^:#:' \
|
|
-e '/fuubar/,/^end/ s:^:#:' spec/spec_helper.rb || die
|
|
}
|