diff options
Diffstat (limited to 'dev-ruby/backports')
-rw-r--r-- | dev-ruby/backports/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/backports/backports-3.24.1.ebuild | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest index abed9cd15fb2..73da82cac5dc 100644 --- a/dev-ruby/backports/Manifest +++ b/dev-ruby/backports/Manifest @@ -1,3 +1,5 @@ DIST backports-3.23.0.tar.gz 181501 BLAKE2B ef9841366b27b19837e61177f727cbd0acd58650cebab03329c174d699147fadfe51b4ac404d11332e681285c5f0ddcf387bdf6304237ff32c77048a1f5670b6 SHA512 b5b16b78c4dfbadbd60735b29541268cc6446f283ad686add208974fb861b270ffc46ec3cb6702c2ecf760e0de83d31025dbeba90e79383ffda6b4ca0b52a06c +DIST backports-3.24.1.tar.gz 186050 BLAKE2B 5c4f22e12ff4b436c356796b1d8af4cbb8ea038536818bdf97b6c42c57c809c01954147240aa250ee7fc26abf5f9d775d3e0f9b73f6db323aec2c8481d15a68f SHA512 bc29c9eaad86ae99f4a22d6f797bd8a93769761c4bc728539a798e7d0c1fe72cedc665673607d4aab8ac0e7e890789f213842a927eac738674b6089b9961ebf0 EBUILD backports-3.23.0.ebuild 792 BLAKE2B 28c883f7289b3fd8de077287d5340a3a32b4c5cbb5c3b619695198f1795b49db45981836c15fa9a2defa134c6dcc38c880d4d6b71d9655b775154a5b4871c2a9 SHA512 96a072fdd8b5f29baa5ba46967c39d8501cab6770a2ac6fe4d26686cb8a87a09483b4a374b3fa3b696489cfeaa9a99bebbfc2876c3e1ca956cd1a73e0b4c8e9b +EBUILD backports-3.24.1.ebuild 792 BLAKE2B 00fcf7944786bcc867a1dba9e366db8c6f66e0c99784185287afb16c2a2aa45611bf20b9dd303ca7406db21302c4797ac210cc10f9f1ac6e90050d5e753eaeee SHA512 01ab1290c3f58b3d564aed212f22a547d1aeab4bd994d203fb154c0414d73c430311344ed258ce11e8d9e42768ad09422d59bf115c6164d9aa863f72bd0ff966 MISC metadata.xml 336 BLAKE2B fb9482efc94ceedae0a44003dfe8a539ed8f728b93cd5e924f5e44778049598f14874908e3ccf0b393809fe35eab9027533ddb0407c16a767012c6f04962d8ac SHA512 848ee492c5952bbc00d5cce3f17f5d68e56ee0235c23f0eec19cf0a85cf097e20484ce6ac209d4fed6fb0dcd5323b45bdc662cb9ed6fd9a9bf50321724df3c5f diff --git a/dev-ruby/backports/backports-3.24.1.ebuild b/dev-ruby/backports/backports-3.24.1.ebuild new file mode 100644 index 000000000000..60fd239f37d0 --- /dev/null +++ b/dev-ruby/backports/backports-3.24.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" +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}.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 +} |