diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-04-28 09:35:10 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-04-28 10:49:15 +0200 |
commit | b61eb60dc7ec33c0e764240eccda5f7e7bb0e15b (patch) | |
tree | ede8724a4971d550e2ee939fd5da0a8d7ba02aa4 /dev-ruby | |
parent | dev-ruby/gettext_i18n_rails: add 1.10.1 (diff) | |
download | gentoo-b61eb60dc7ec33c0e764240eccda5f7e7bb0e15b.tar.gz gentoo-b61eb60dc7ec33c0e764240eccda5f7e7bb0e15b.tar.bz2 gentoo-b61eb60dc7ec33c0e764240eccda5f7e7bb0e15b.zip |
dev-ruby/backports: add 3.24.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/backports/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/backports/backports-3.24.1.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest index d1b09b968a0a..7ca7fed5a18d 100644 --- a/dev-ruby/backports/Manifest +++ b/dev-ruby/backports/Manifest @@ -1 +1,2 @@ DIST backports-3.23.0.tar.gz 181501 BLAKE2B ef9841366b27b19837e61177f727cbd0acd58650cebab03329c174d699147fadfe51b4ac404d11332e681285c5f0ddcf387bdf6304237ff32c77048a1f5670b6 SHA512 b5b16b78c4dfbadbd60735b29541268cc6446f283ad686add208974fb861b270ffc46ec3cb6702c2ecf760e0de83d31025dbeba90e79383ffda6b4ca0b52a06c +DIST backports-3.24.1.tar.gz 186050 BLAKE2B 5c4f22e12ff4b436c356796b1d8af4cbb8ea038536818bdf97b6c42c57c809c01954147240aa250ee7fc26abf5f9d775d3e0f9b73f6db323aec2c8481d15a68f SHA512 bc29c9eaad86ae99f4a22d6f797bd8a93769761c4bc728539a798e7d0c1fe72cedc665673607d4aab8ac0e7e890789f213842a927eac738674b6089b9961ebf0 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 +} |