1 |
commit: d0a49b37c5f8944e558d6d864ed7a475eb642797 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 07:28:29 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 07:30:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a49b37 |
7 |
|
8 |
dev-ruby/metaclass: eapi 7, ruby30 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild | 25 +++++++++++++++++++++++++ |
14 |
1 file changed, 25 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild b/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..7f92a7a53e0 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild |
21 |
@@ -0,0 +1,25 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+USE_RUBY="ruby25 ruby26 ruby27 ruby30" |
27 |
+ |
28 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
29 |
+ |
30 |
+RUBY_FAKEGEM_GEMSPEC="metaclass.gemspec" |
31 |
+ |
32 |
+inherit ruby-fakegem |
33 |
+SRC_URI="https://github.com/floehopper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+DESCRIPTION="Adds a __metaclass__ method to all Ruby objects" |
36 |
+HOMEPAGE="https://github.com/floehopper/metaclass" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
41 |
+IUSE="" |
42 |
+ |
43 |
+all_ruby_prepare() { |
44 |
+ sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die |
45 |
+ sed -i -e 's/git ls-files/find/' -e '/\(test_files\|executables\)/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die |
46 |
+} |