summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-09-06 07:55:11 +0200
committerHans de Graaff <graaff@gentoo.org>2020-09-06 08:48:28 +0200
commit6c80fcf09104396a9dbeb4c9e014411a830bfde7 (patch)
treeb7cf26876c31b10fd1554f2cb02a36eb5985e6c8 /dev-ruby/backports
parentmedia-video/yle-dl: remove old 2020-06-28 (diff)
downloadgentoo-6c80fcf09104396a9dbeb4c9e014411a830bfde7.tar.gz
gentoo-6c80fcf09104396a9dbeb4c9e014411a830bfde7.tar.bz2
gentoo-6c80fcf09104396a9dbeb4c9e014411a830bfde7.zip
dev-ruby/backports: add 3.18.2
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/backports')
-rw-r--r--dev-ruby/backports/Manifest1
-rw-r--r--dev-ruby/backports/backports-3.18.2.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest
index 293bfc848a05..95087b95139b 100644
--- a/dev-ruby/backports/Manifest
+++ b/dev-ruby/backports/Manifest
@@ -2,3 +2,4 @@ DIST backports-3.15.0.gem 152064 BLAKE2B a2c2a1f35ab6f682be23a5189bafec563a2d028
DIST backports-3.16.1{P}.tar.gz 156181 BLAKE2B c7cc842fb9bf8fcc7b55c8a572cc7a01a63008ad20f63142f339d24d7bf04202f4def2f03261d23d6c41c8c3bd0af8fce76a323e25585b6874c1428eb2a9ef90 SHA512 d907d729dd37ebfb175f8274078664fc4eee51de773cd0871b8bec9a8808052fbdea8571f0a402b1a6ca88ca7cd7b6b9984f66799abf92f300f1f8bc7b8f3f9b
DIST backports-3.17.2{P}.tar.gz 158235 BLAKE2B bc761ee147adec209f2dcc3ff95e8ba82b8388c58b3b6aeb11c4f294ebf8aed74ca8bea54833df5adf32b2fd65ec01b621d2e8422d344fe9e1fa228542cb6118 SHA512 2194dd0e89c111f02d161ebc60827fb0276ad32c9e611156687a0f83604db2b25bdec626d7671a7a6fd7ce1395dc818a3735e63a2c165f41a0dd37ff37487d4e
DIST backports-3.18.1{P}.tar.gz 158453 BLAKE2B a50efaea7a97d25dd760a8fb592c664c011818933b346b959611d02592e2d7fda46fe16a805290340bd5323397f33ee4d613b9698b70a29714e5429a2d320783 SHA512 38a057d5eeaab45cea4d7a8dd9ec8d0e98c5efdf18056576574733387d84a4ec8388f4797c527e240ef0bc026dc730c7eebfcabd42e1111b2d5727b9cbca4016
+DIST backports-3.18.2{P}.tar.gz 158492 BLAKE2B 7ad924758939fe50b26fb845e96583a57a06e0039780eb96c8df9c535bd5aace261a6b3619ca3bc3a772c0db51162e9d340a6a1515c746acde91d8cb608f83be SHA512 3293430331f217c13f754242848f2541906ce930a8683f0ed65a64f93dc1d2387ef33501b1d8129872d536bf2f59c4e975c67abc2cd966277fd62ffbc68b5522
diff --git a/dev-ruby/backports/backports-3.18.2.ebuild b/dev-ruby/backports/backports-3.18.2.ebuild
new file mode 100644
index 000000000000..c1798ee2c098
--- /dev/null
+++ b/dev-ruby/backports/backports-3.18.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_GEMSPEC="backports.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Backports of Ruby features for older Ruby"
+HOMEPAGE="https://github.com/marcandre/backports"
+SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> $P{P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+ # Avoid activesupport test that no longer works in Rails 5. This also avoids
+ # a dependency on activesupport
+ sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die
+
+ sed -i -e '/rubocop/I s:^:#:' Rakefile || die
+}