1 |
commit: ef1ea2d2b8aa72f3782e2ebee9fcc388f8a322aa |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 1 09:54:53 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 09:56:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1ea2d2 |
7 |
|
8 |
dev-ruby/globalid: add ruby31 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/globalid/globalid-1.0.0-r2.ebuild | 29 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 29 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/globalid/globalid-1.0.0-r2.ebuild b/dev-ruby/globalid/globalid-1.0.0-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..a0ee3645fdc8 |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/globalid/globalid-1.0.0-r2.ebuild |
20 |
@@ -0,0 +1,29 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+USE_RUBY="ruby27 ruby30 ruby31" |
26 |
+ |
27 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
28 |
+ |
29 |
+RUBY_FAKEGEM_GEMSPEC="globalid.gemspec" |
30 |
+ |
31 |
+inherit ruby-fakegem |
32 |
+ |
33 |
+DESCRIPTION="Reference models by URI" |
34 |
+HOMEPAGE="https://github.com/rails/globalid" |
35 |
+SRC_URI="https://github.com/rails/globalid/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="MIT" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~sparc ~x86 ~amd64-linux" |
40 |
+IUSE="" |
41 |
+ |
42 |
+ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/activemodel-5.0 >=dev-ruby/railties-5.0 )" |
43 |
+ruby_add_rdepend ">=dev-ruby/activesupport-5.0:*" |
44 |
+ |
45 |
+all_ruby_prepare() { |
46 |
+ rm -f Gemfile.lock || die |
47 |
+ |
48 |
+ sed -i -e '2irequire "forwardable"' test/helper.rb || die |
49 |
+} |