From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF6CD158089 for ; Sat, 16 Sep 2023 04:23:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA1B72BC01E; Sat, 16 Sep 2023 04:23:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 952A52BC01E for ; Sat, 16 Sep 2023 04:23:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C472C335D31 for ; Sat, 16 Sep 2023 04:23:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A07111BF for ; Sat, 16 Sep 2023 04:23:18 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1694838193.d9552646fc4821b37a71451a1938ed60457290cc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/magic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/magic/magic-0.2.9-r2.ebuild X-VCS-Directories: dev-ruby/magic/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d9552646fc4821b37a71451a1938ed60457290cc X-VCS-Branch: master Date: Sat, 16 Sep 2023 04:23:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3f647a05-64b2-4374-9010-a7d54c813e66 X-Archives-Hash: 720badcf2df3e52c058fced41245ac74 commit: d9552646fc4821b37a71451a1938ed60457290cc Author: Hans de Graaff gentoo org> AuthorDate: Fri Sep 15 18:30:28 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Sep 16 04:23:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9552646 dev-ruby/magic: enable ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/magic/magic-0.2.9-r2.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-ruby/magic/magic-0.2.9-r2.ebuild b/dev-ruby/magic/magic-0.2.9-r2.ebuild index 0640c4315f96..5cf28aa6c1e5 100644 --- a/dev-ruby/magic/magic-0.2.9-r2.ebuild +++ b/dev-ruby/magic/magic-0.2.9-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="README.rdoc" RUBY_FAKEGEM_GEMSPEC="magic.gemspec" @@ -28,6 +28,9 @@ ruby_add_rdepend "dev-ruby/ffi" all_ruby_prepare() { sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix File.exists? deprecation + sed -i -e 's/File.exists?/File.exist?/' lib/magic/database.rb || die } each_ruby_test() {