Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

termbg 0.6.1 (new formula) #201308

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading