Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ddmemoize/
Date: Fri, 06 May 2022 10:04:33
Message-Id: 1651831463.a325cbab11071ccee1f40635d9df6daf9efd83b0.graaff@gentoo
1 commit: a325cbab11071ccee1f40635d9df6daf9efd83b0
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 6 09:06:03 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri May 6 10:04:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a325cbab
7
8 dev-ruby/ddmemoize: update EAPI 6 -> 8, ruby30
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/ddmemoize/ddmemoize-1.0.0-r1.ebuild | 30 ++++++++++++++++++++++++++++
13 1 file changed, 30 insertions(+)
14
15 diff --git a/dev-ruby/ddmemoize/ddmemoize-1.0.0-r1.ebuild b/dev-ruby/ddmemoize/ddmemoize-1.0.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..dda4c1794412
18 --- /dev/null
19 +++ b/dev-ruby/ddmemoize/ddmemoize-1.0.0-r1.ebuild
20 @@ -0,0 +1,30 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +USE_RUBY="ruby26 ruby27 ruby30"
27 +
28 +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
29 +
30 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
31 +
32 +inherit ruby-fakegem
33 +
34 +DESCRIPTION="Adds support for memoizing functions"
35 +HOMEPAGE="https://github.com/ddfreyne/ddmemoize/"
36 +
37 +LICENSE="MIT"
38 +SLOT="1"
39 +KEYWORDS="~amd64 ~riscv"
40 +IUSE=""
41 +
42 +ruby_add_rdepend "
43 + dev-ruby/ddmetrics:1
44 + dev-ruby/ref:2
45 +"
46 +
47 +all_ruby_prepare() {
48 + sed -i -e '/simplecov/,/^SimpleCov.formatter/ s:^:#:' \
49 + -e '/fuubar/,/^end/ s:^:#:' spec/spec_helper.rb || die
50 +}