1 |
commit: 1e13dd139d807d297a460684c7182fac02cab3c9 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 06:29:49 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 06:29:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e13dd13 |
7 |
|
8 |
dev-ruby/backports: add 3.20.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/backports/Manifest | 1 + |
14 |
dev-ruby/backports/backports-3.20.2.ebuild | 28 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 29 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest |
18 |
index 7a26c97c5d8..b65250077ca 100644 |
19 |
--- a/dev-ruby/backports/Manifest |
20 |
+++ b/dev-ruby/backports/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST backports-3.15.0.gem 152064 BLAKE2B a2c2a1f35ab6f682be23a5189bafec563a2d028 |
22 |
DIST backports-3.17.2{P}.tar.gz 158235 BLAKE2B bc761ee147adec209f2dcc3ff95e8ba82b8388c58b3b6aeb11c4f294ebf8aed74ca8bea54833df5adf32b2fd65ec01b621d2e8422d344fe9e1fa228542cb6118 SHA512 2194dd0e89c111f02d161ebc60827fb0276ad32c9e611156687a0f83604db2b25bdec626d7671a7a6fd7ce1395dc818a3735e63a2c165f41a0dd37ff37487d4e |
23 |
DIST backports-3.18.2{P}.tar.gz 158492 BLAKE2B 7ad924758939fe50b26fb845e96583a57a06e0039780eb96c8df9c535bd5aace261a6b3619ca3bc3a772c0db51162e9d340a6a1515c746acde91d8cb608f83be SHA512 3293430331f217c13f754242848f2541906ce930a8683f0ed65a64f93dc1d2387ef33501b1d8129872d536bf2f59c4e975c67abc2cd966277fd62ffbc68b5522 |
24 |
DIST backports-3.20.1{P}.tar.gz 178390 BLAKE2B a21ba2035e83ab309582a9ad6b01006079ab38d0990724942ffb591e2ed536dbb6f176c940ccc019bd374c38ca9a0ebd271e32563a41a71e06d1c631084e0445 SHA512 4330c1c8928d914fe85dc5d3797ab0b02b37e5ed3fed1899d6368504dc64c2241fc87357bc5155e708902ae93bf2160276d60a6b1ed5a23fbb234e2598a1b441 |
25 |
+DIST backports-3.20.2{P}.tar.gz 178633 BLAKE2B 2e2f2f31099763bb218f3ada9f9d040d4b41fc842bbc8b91d703e91b89bab9d6e7bbf3aae1ecfe34abe6099d6cb34929ae72ba66d4ee473841563257fa85cf3c SHA512 a91a2c9186315fca8e0b33554ef26986abe8565e08a79b9f150f8115f998b2a7a440bbc64b92f89c4e95e1c5e852bfeea6ab337804cf017517e77229f10820e5 |
26 |
|
27 |
diff --git a/dev-ruby/backports/backports-3.20.2.ebuild b/dev-ruby/backports/backports-3.20.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..79bd0df839f |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/backports/backports-3.20.2.ebuild |
32 |
@@ -0,0 +1,28 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+USE_RUBY="ruby25 ruby26 ruby27 ruby30" |
39 |
+RUBY_FAKEGEM_TASK_TEST="test" |
40 |
+ |
41 |
+RUBY_FAKEGEM_GEMSPEC="backports.gemspec" |
42 |
+ |
43 |
+inherit ruby-fakegem |
44 |
+ |
45 |
+DESCRIPTION="Backports of Ruby features for older Ruby" |
46 |
+HOMEPAGE="https://github.com/marcandre/backports" |
47 |
+SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> $P{P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" |
52 |
+IUSE="" |
53 |
+ |
54 |
+all_ruby_prepare() { |
55 |
+ # Avoid activesupport test that no longer works in Rails 5. This also avoids |
56 |
+ # a dependency on activesupport |
57 |
+ sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die |
58 |
+ |
59 |
+ sed -i -e '/rubocop/I s:^:#:' Rakefile || die |
60 |
+} |