commit:     8411e20d6dfe03b3c8cfbdb22460b06e5ce37fbc
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 06:31:56 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 06:31:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8411e20d

dev-ruby/backports: add 3.25.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/backports/Manifest                |  1 +
 dev-ruby/backports/backports-3.25.0.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/dev-ruby/backports/Manifest b/dev-ruby/backports/Manifest
index af511fac8d62..41829cbe9577 100644
--- a/dev-ruby/backports/Manifest
+++ b/dev-ruby/backports/Manifest
@@ -1 +1,2 @@
 DIST backports-3.24.1.tar.gz 186050 BLAKE2B 
5c4f22e12ff4b436c356796b1d8af4cbb8ea038536818bdf97b6c42c57c809c01954147240aa250ee7fc26abf5f9d775d3e0f9b73f6db323aec2c8481d15a68f
 SHA512 
bc29c9eaad86ae99f4a22d6f797bd8a93769761c4bc728539a798e7d0c1fe72cedc665673607d4aab8ac0e7e890789f213842a927eac738674b6089b9961ebf0
+DIST backports-3.25.0.tar.gz 187271 BLAKE2B 
aad3144190cbb97f34d6ab334899ccee09a4d3b7be9aa91db8a631990124f34528b9243efe311bd4ee137c99a22b60aabda06544c23d5c4cb993dec2d42f09b2
 SHA512 
88083b358ecc99c9268bdcfeae6ca3503b3cbb3c379b0bae7d55ca4493eb052d6f51c6231e3bf6a9ad8b4128f788efb3766d9aed10c92932d86b7f9138d4d849

diff --git a/dev-ruby/backports/backports-3.25.0.ebuild 
b/dev-ruby/backports/backports-3.25.0.ebuild
new file mode 100644
index 000000000000..a0163970763a
--- /dev/null
+++ b/dev-ruby/backports/backports-3.25.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+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"
+
+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
+}

Reply via email to