summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-05-21 06:25:12 +0200
committerHans de Graaff <graaff@gentoo.org>2020-05-21 06:25:12 +0200
commit332dd2fac2012a2f06d45f9798ba16fe2ba1b2bb (patch)
treee12648a862cb19147f8878e61572ec2920a24f5f /dev-ruby/backports
parentmedia-plugins/kodi-pvr-nextpvr: 3.3.20 version bump (diff)
downloadgentoo-332dd2fac2012a2f06d45f9798ba16fe2ba1b2bb.tar.gz
gentoo-332dd2fac2012a2f06d45f9798ba16fe2ba1b2bb.tar.bz2
gentoo-332dd2fac2012a2f06d45f9798ba16fe2ba1b2bb.zip
dev-ruby/backports: add 3.17.2
Package-Manager: Portage-2.3.99, Repoman-2.3.22 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.17.2.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest
index 42f834a392cb..2e9633d3d5f2 100644
--- a/dev-ruby/backports/Manifest
+++ b/dev-ruby/backports/Manifest
@@ -3,3 +3,4 @@ DIST backports-3.16.0.gem 154624 BLAKE2B a35adb965c3f9f42fab5fe80fa1ca20a59511e9
DIST backports-3.16.1{P}.tar.gz 156181 BLAKE2B c7cc842fb9bf8fcc7b55c8a572cc7a01a63008ad20f63142f339d24d7bf04202f4def2f03261d23d6c41c8c3bd0af8fce76a323e25585b6874c1428eb2a9ef90 SHA512 d907d729dd37ebfb175f8274078664fc4eee51de773cd0871b8bec9a8808052fbdea8571f0a402b1a6ca88ca7cd7b6b9984f66799abf92f300f1f8bc7b8f3f9b
DIST backports-3.17.0{P}.tar.gz 158065 BLAKE2B 33df81f32aa36b8039e021dbbf9ebd265a73cc5f74069472773ccf8f71d9378820671055c8130282a95ee8a5b32d3fe13a04394fb8f9b4c01c38f13582447063 SHA512 4acea191916bb067856c42665c10fad52a275193fc5cd04cb73bc5ce7967033d055acbf682f5e7abc8058fafd5150fb8154495a964d09664bf1ffcf91dd154c8
DIST backports-3.17.1{P}.tar.gz 158209 BLAKE2B caecc782c7949d2b6408a31c3d5f7e1599c49a0593761c2e75fc8181b28db42797fc10ea8149e6f6d3d60c6561bedea536b80b271ba4243c9cf933414e8aca71 SHA512 87cd790099c5265bbb3d6f91fd40429f65b97c4dcdd5126c2a8c4376efac047883271e447ecc3512999c2470b291258b1d45600fe55ad687d4eab8ab12cca37a
+DIST backports-3.17.2{P}.tar.gz 158235 BLAKE2B bc761ee147adec209f2dcc3ff95e8ba82b8388c58b3b6aeb11c4f294ebf8aed74ca8bea54833df5adf32b2fd65ec01b621d2e8422d344fe9e1fa228542cb6118 SHA512 2194dd0e89c111f02d161ebc60827fb0276ad32c9e611156687a0f83604db2b25bdec626d7671a7a6fd7ce1395dc818a3735e63a2c165f41a0dd37ff37487d4e
diff --git a/dev-ruby/backports/backports-3.17.2.ebuild b/dev-ruby/backports/backports-3.17.2.ebuild
new file mode 100644
index 000000000000..10f3947595ba
--- /dev/null
+++ b/dev-ruby/backports/backports-3.17.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="ruby24 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
+}