summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-22 07:48:30 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-22 07:56:06 +0100
commite078447dc4032ee2208889655071aa1899d9b204 (patch)
tree6fcd091d304245ae49cc179525f93ce60661978e /dev-ruby/memoize
parentdev-ruby/memoizable: cleanup (diff)
downloadgentoo-e078447dc4032ee2208889655071aa1899d9b204.tar.gz
gentoo-e078447dc4032ee2208889655071aa1899d9b204.tar.bz2
gentoo-e078447dc4032ee2208889655071aa1899d9b204.zip
dev-ruby/memoize: add ruby30
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/memoize')
-rw-r--r--dev-ruby/memoize/memoize-1.3.1-r2.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/memoize/memoize-1.3.1-r2.ebuild b/dev-ruby/memoize/memoize-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..20f46c97d4de
--- /dev/null
+++ b/dev-ruby/memoize/memoize-1.3.1-r2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README"
+
+inherit ruby-fakegem
+DESCRIPTION="A Ruby library that lets you memoize methods"
+HOMEPAGE="https://github.com/djberg96/memoize"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 ) "
+
+all_ruby_prepare() {
+ sed -i -e 's/Config/RbConfig/' Rakefile || die
+}