commit:     b9e73afee513c31e0135ed5975c12d5704a9dbcd
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 15 12:32:54 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 12:33:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e73afe

dev-ruby/ffaker: enable ruby33

Also avoid a dependency on rubocop.

Closes: https://bugs.gentoo.org/923389
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/ffaker/ffaker-2.23.0.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/ffaker/ffaker-2.23.0.ebuild 
b/dev-ruby/ffaker/ffaker-2.23.0.ebuild
index b14b9e27d72a..2146ea0edec8 100644
--- a/dev-ruby/ffaker/ffaker-2.23.0.ebuild
+++ b/dev-ruby/ffaker/ffaker-2.23.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 RUBY_FAKEGEM_BINWRAP=""
 RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md REFERENCE.md"
@@ -20,5 +20,8 @@ IUSE="test"
 ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
 
 all_ruby_prepare() {
+       # Avoid dependency on rubocop
+       sed -e '/rubocop/I s:^:#:' -i Rakefile || die
+
        sed -i -e '/test_image_file/aomit "network"' test/test_image.rb || die
 }

Reply via email to