Skip to content

Commit

Permalink
termbg 0.6.1 (new formula)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 16, 2024
1 parent 2c7fa3f commit f231523
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2987,6 +2987,7 @@ tenere
tengo
tenv
tere
termbg
terminator
termscp
termshark
Expand Down
18 changes: 18 additions & 0 deletions Formula/t/termbg.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class Termbg < Formula
desc "Rust library for terminal background color detection"
homepage "https://github.com/dalance/termbg"
url "https://github.com/dalance/termbg/archive/refs/tags/v0.6.1.tar.gz"
sha256 "f31a6b0af7b2833d31481197f80e2cef9dfe7196ca640367d8f63ca6e03a3d0d"
license any_of: ["Apache-2.0", "MIT"]
head "https://github.com/dalance/termbg.git", branch: "master"

depends_on "rust" => :build

def install
system "cargo", "install", *std_cargo_args
end

test do

Check failure on line 15 in Formula/t/termbg.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew test --verbose termbg` failed on macOS Sequoia (15) on Apple Silicon!

==> /opt/homebrew/Cellar/termbg/0.6.1/bin/termbg --debug Check terminal background color Killing child processes... ::error::termbg: failed An exception occurred within a child process: Timeout::Error: execution expired /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:43:in `rescue in handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:40:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:54:in `<main>'

Check failure on line 15 in Formula/t/termbg.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew test --verbose termbg` failed on macOS Sonoma (14) on Apple Silicon!

==> /opt/homebrew/Cellar/termbg/0.6.1/bin/termbg --debug Check terminal background color Killing child processes... ::error::termbg: failed An exception occurred within a child process: Timeout::Error: execution expired /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:43:in `rescue in handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:40:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:54:in `<main>'

Check failure on line 15 in Formula/t/termbg.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew test --verbose termbg` failed on macOS Ventura (13) on Apple Silicon!

==> /opt/homebrew/Cellar/termbg/0.6.1/bin/termbg --debug Check terminal background color Killing child processes... ::error::termbg: failed An exception occurred within a child process: Timeout::Error: execution expired /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:43:in `rescue in handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:40:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:54:in `<main>'
system bin/"termbg", "--debug"
end
end

0 comments on commit f231523

Please sign in to comment.