From 67cab59b89aa97a3dcaa88c23ed6e4bc5784fff8 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 3 Nov 2024 15:43:55 +0000 Subject: [PATCH 1/2] macchina 6.4.0 macchina: remove vendor deps and update test Signed-off-by: Rui Chen --- Formula/m/macchina.rb | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/Formula/m/macchina.rb b/Formula/m/macchina.rb index d6d91e4a374bc..5dee7e4b27d91 100644 --- a/Formula/m/macchina.rb +++ b/Formula/m/macchina.rb @@ -1,8 +1,8 @@ class Macchina < Formula desc "System information fetcher, with an emphasis on performance and minimalism" homepage "https://github.com/Macchina-CLI/macchina" - url "https://github.com/Macchina-CLI/macchina/archive/refs/tags/v6.3.1.tar.gz" - sha256 "385bccc02f67c9ed6b9a483dbebdec901eb4beb82b15bb7969ee36028c19e475" + url "https://github.com/Macchina-CLI/macchina/archive/refs/tags/v6.4.0.tar.gz" + sha256 "edd7591565f199c1365420655a144507bcd2838aed09b79fefdc8b661180432f" license "MIT" bottle do @@ -16,27 +16,13 @@ class Macchina < Formula depends_on "rust" => :build - # In order to update the dependent resources, check the link below - # https://github.com/Macchina-CLI/macchina/tree/main/vendor - # and find commit ids for the submodules, download tarball and update checksum. - resource "ansi-to-tui" do - url "https://github.com/Macchina-CLI/ansi-to-tui/archive/950d68067ed8c7f74469eb2fd996e04e1b931481.tar.gz" - sha256 "e5f7b361dbc8400355ae637c4b66bcc28964e31bf634d6aa38684c510b38460e" - end - - resource "color-to-tui" do - url "https://github.com/Macchina-CLI/color-to-tui/archive/9a1b684d92cc64994889e100575e38316a68670b.tar.gz" - sha256 "c30ec8f9314afd401c86c7b920864a6974557e72ad21059d3420db2dcffd02cb" - end - def install - (buildpath/"vendor/ansi-to-tui").install resource("ansi-to-tui") - (buildpath/"vendor/color-to-tui").install resource("color-to-tui") - system "cargo", "install", *std_cargo_args end test do assert_match "We've collected a total of 19 readouts", shell_output("#{bin}/macchina --doctor") + + assert_match version.to_s, shell_output("#{bin}/macchina --version") end end From f83164ccb0b6b6f7ab79489325df63adc8382feb Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 3 Nov 2024 17:32:08 +0000 Subject: [PATCH 2/2] macchina: update 6.4.0 bottle. --- Formula/m/macchina.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Formula/m/macchina.rb b/Formula/m/macchina.rb index 5dee7e4b27d91..8caf3df2bba1e 100644 --- a/Formula/m/macchina.rb +++ b/Formula/m/macchina.rb @@ -6,12 +6,12 @@ class Macchina < Formula license "MIT" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "6ecc57084ae105e0d8068e693cb2b8d8ad97fdf67333fc0b56cb247492bb89dd" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "401d23f452588558b961d447ba3b55c299ca65748b5e91640868ee48437fd2d8" - sha256 cellar: :any_skip_relocation, arm64_ventura: "668fd39b49bb00d25713ecbd78fa7d72b48cb6b4eaa7c90aecfb1598d586a7ae" - sha256 cellar: :any_skip_relocation, sonoma: "a77aaa3528f6318829f13cd4105bc61efcf56dab104500d9312c0ea57dd36197" - sha256 cellar: :any_skip_relocation, ventura: "4835dc98c9415fdabbf407a14529b2d84cf4b2be4b1412cdbcc47d7e089a50b0" - sha256 cellar: :any_skip_relocation, x86_64_linux: "e4470df67ea312015e1c176847f29fba03c193af0441683a2cec0005313d3594" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "7ced4610d20e2d1279ae391a02ef966e22984dc0bf615b6341b9672a45d2d0f0" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "3e8e972a287563d557df33bfeee21eb54fb2bd13ae2399ed0451e6381aad554b" + sha256 cellar: :any_skip_relocation, arm64_ventura: "0edf9f8eb64c603d3d2a173a0d933902ace99b500e16c8a3cd7daec854703232" + sha256 cellar: :any_skip_relocation, sonoma: "922e43abc17df8b48ffa744fd346f50f60754ea4abb2a5b82703b94686f91620" + sha256 cellar: :any_skip_relocation, ventura: "d544f58c1d3f84ab87fded15c43ee4deb67e18c3f2a3d81e40919875a795942a" + sha256 cellar: :any_skip_relocation, x86_64_linux: "c2dee8bb6fa398bbe5e7ed7dc13dbf811d9511a131a9ec678aa487b323e2528b" end depends_on "rust" => :build