1 |
commit: e95d99ef82fe1dbbfadbf7d8ea048c856352325e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 26 07:09:59 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 26 07:15:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e95d99ef |
7 |
|
8 |
dev-ruby/backports: add 3.18.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/backports/Manifest | 1 + |
14 |
dev-ruby/backports/backports-3.18.1.ebuild | 28 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 29 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest |
18 |
index 2e9633d3d5f..89887629c12 100644 |
19 |
--- a/dev-ruby/backports/Manifest |
20 |
+++ b/dev-ruby/backports/Manifest |
21 |
@@ -4,3 +4,4 @@ DIST backports-3.16.1{P}.tar.gz 156181 BLAKE2B c7cc842fb9bf8fcc7b55c8a572cc7a01a |
22 |
DIST backports-3.17.0{P}.tar.gz 158065 BLAKE2B 33df81f32aa36b8039e021dbbf9ebd265a73cc5f74069472773ccf8f71d9378820671055c8130282a95ee8a5b32d3fe13a04394fb8f9b4c01c38f13582447063 SHA512 4acea191916bb067856c42665c10fad52a275193fc5cd04cb73bc5ce7967033d055acbf682f5e7abc8058fafd5150fb8154495a964d09664bf1ffcf91dd154c8 |
23 |
DIST backports-3.17.1{P}.tar.gz 158209 BLAKE2B caecc782c7949d2b6408a31c3d5f7e1599c49a0593761c2e75fc8181b28db42797fc10ea8149e6f6d3d60c6561bedea536b80b271ba4243c9cf933414e8aca71 SHA512 87cd790099c5265bbb3d6f91fd40429f65b97c4dcdd5126c2a8c4376efac047883271e447ecc3512999c2470b291258b1d45600fe55ad687d4eab8ab12cca37a |
24 |
DIST backports-3.17.2{P}.tar.gz 158235 BLAKE2B bc761ee147adec209f2dcc3ff95e8ba82b8388c58b3b6aeb11c4f294ebf8aed74ca8bea54833df5adf32b2fd65ec01b621d2e8422d344fe9e1fa228542cb6118 SHA512 2194dd0e89c111f02d161ebc60827fb0276ad32c9e611156687a0f83604db2b25bdec626d7671a7a6fd7ce1395dc818a3735e63a2c165f41a0dd37ff37487d4e |
25 |
+DIST backports-3.18.1{P}.tar.gz 158453 BLAKE2B a50efaea7a97d25dd760a8fb592c664c011818933b346b959611d02592e2d7fda46fe16a805290340bd5323397f33ee4d613b9698b70a29714e5429a2d320783 SHA512 38a057d5eeaab45cea4d7a8dd9ec8d0e98c5efdf18056576574733387d84a4ec8388f4797c527e240ef0bc026dc730c7eebfcabd42e1111b2d5727b9cbca4016 |
26 |
|
27 |
diff --git a/dev-ruby/backports/backports-3.18.1.ebuild b/dev-ruby/backports/backports-3.18.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..c1798ee2c09 |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/backports/backports-3.18.1.ebuild |
32 |
@@ -0,0 +1,28 @@ |
33 |
+# Copyright 1999-2020 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" |
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 |
+} |