diff options
Diffstat (limited to 'dev-ruby/magic')
-rw-r--r-- | dev-ruby/magic/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/magic/magic-0.2.9-r2.ebuild | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/magic/Manifest b/dev-ruby/magic/Manifest index b32079f070b5..d23a07edccf4 100644 --- a/dev-ruby/magic/Manifest +++ b/dev-ruby/magic/Manifest @@ -1,3 +1,3 @@ DIST magic-0.2.9.tar.gz 11642 BLAKE2B 1208e40e1c95ebd8a31f71d860b68acf9663a165fa5f775459f874d79f41c51268a0f0be5d9f6ca416b85a838879d179ccbc10e40047cba1e330f891dbd6297c SHA512 5bc6d6e1b2646b12af7dad15273dc125db68be2d6e6c109484339c8f651349827a90ea81d8feb0441c5811567d85130cda35167e2dbb426842f952fc2ff8ea15 -EBUILD magic-0.2.9-r2.ebuild 816 BLAKE2B c6cf02879a3d016655e238410de464fb6e4959a843e80909f99cac9aa88c1c16ca14cfcb10b736a1f3eb529f26bf6cf0aebc01686bce0ad8e02a06501c5da94b SHA512 5e5d462f17a4877816c9d72d67232645aa1f803ca699f3e396f81ea5d2fc71d00f3456a3a5620840740ec58f31422de4dc405c48ded7e6f84bf73bc2da6ebe7d +EBUILD magic-0.2.9-r2.ebuild 912 BLAKE2B f6c254ba92276ded258cbd3c5f4f781f974fa78c86a200b932b4d8df62d871d54fb0cc77a389734a59a645868e3a2aa93ad54bfe4195d1af4ced23e8a27a076c SHA512 03031b5cafa1150ac726f5b554311c5630ea4ebbb15287686136950083514589c0e55aa8d750e97a1cba562ccdaec88348106843cbb1d5e1bce63417be532cef MISC metadata.xml 339 BLAKE2B beb4876fd388f0e612240b7c9ee67e85e3a7e5ac5d502497fa9d80ce15f4b6c7ad2a6847c5235368f903af9581f0ae045ef28a1347e04c02bd577895f7470968 SHA512 652d191bf38a440cf9a0e554489ead5dc3e59ad676939cffdfa527b9f968b01c532e7f96596824fa8e0151c0cb99b1895178588b56cc161e0cf2462dcb017a92 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() { |