diff --git a/Formula/qemu-iscsi.rb b/Formula/qemu-iscsi.rb index cf015e6..ca5abaf 100644 --- a/Formula/qemu-iscsi.rb +++ b/Formula/qemu-iscsi.rb @@ -1,8 +1,8 @@ class QemuIscsi < Formula desc "Generic machine emulator and virtualizer (with libiscsi support)" homepage "https://www.qemu.org/" - url "https://download.qemu.org/qemu-10.2.2.tar.xz" - sha256 "784b296ff29c1417aa72323abcb2d2ea9ab9771724f577dcd785c3b04f21e176" + url "https://download.qemu.org/qemu-11.0.0.tar.xz" + sha256 "c04ca36012653f32d11c674d370cf52a710e7d3f18c2d8b63e4932052a4854d6" license "GPL-2.0-only" head "https://gitlab.com/qemu-project/qemu.git", branch: "master" @@ -17,6 +17,7 @@ class QemuIscsi < Formula depends_on "meson" => :build depends_on "ninja" => :build depends_on "pkgconf" => :build + depends_on "python-setuptools" => :build depends_on "python@3.14" => :build depends_on "spice-protocol" => :build @@ -60,7 +61,10 @@ class QemuIscsi < Formula def install ENV["LIBTOOL"] = "glibtool" - rm(Dir["python/wheels/*"] - Dir["python/wheels/pycotap-*-none-any.whl"]) + # Remove wheels unless explicitly permitted. Currently this: + # * removes `meson` so that brew `meson` is always used + # * keeps `pycotap` and `qemu_qmp` which are pure-python "none-any" wheels (allowed in homebrew/core) + rm(Dir["python/wheels/*"] - Dir["python/wheels/{pycotap,qemu_qmp}-*-none-any.whl"]) args = %W[ --prefix=#{prefix} @@ -101,7 +105,7 @@ class QemuIscsi < Formula end archs = %w[ - aarch64 alpha arm avr hppa i386 loongarch64 m68k microblaze microblazeel mips + aarch64 alpha arm avr hppa i386 loongarch64 m68k microblaze mips mips64 mips64el mipsel or1k ppc ppc64 riscv32 riscv64 rx s390x sh4 sh4eb sparc sparc64 tricore x86_64 xtensa xtensaeb ] @@ -112,8 +116,8 @@ class QemuIscsi < Formula resource("homebrew-test-image").stage testpath assert_match "file format: raw", shell_output("#{bin}/qemu-img info FLOPPY.img") - assert_match "libiscsi", - shell_output("#{bin}/qemu-system-x86_64 -drive format=? 2>&1", 1) + assert_match "iscsi", + shell_output("#{bin}/qemu-system-x86_64 -drive format=? 2>&1") if OS.mac? output = shell_output("codesign --verify --verbose #{bin}/qemu-system-x86_64 2>&1")