summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-04-27 06:54:25 +0200
committerHans de Graaff <graaff@gentoo.org>2018-04-27 07:41:14 +0200
commitcbf5d918baa0bf145790305e98b48674464e69fd (patch)
tree3ac81731ba86a7b885523cd87b87ffa19518b0ee /dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild
parentdev-ruby/dbf: add 3.1.2 (diff)
downloadgentoo-cbf5d918baa0bf145790305e98b48674464e69fd.tar.gz
gentoo-cbf5d918baa0bf145790305e98b48674464e69fd.tar.bz2
gentoo-cbf5d918baa0bf145790305e98b48674464e69fd.zip
dev-ruby/ddmemoize: initial import of 1.0.0
New dependency for www-apps/nanoc Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild')
-rw-r--r--dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild b/dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild
new file mode 100644
index 000000000000..a7cf081b5e5d
--- /dev/null
+++ b/dev-ruby/ddmemoize/ddmemoize-1.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24"
+
+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
+}