Skip to content

Commit

Permalink
Merge pull request Homebrew#203505 from Homebrew/bump-bat-0.25.0
Browse files Browse the repository at this point in the history
bat 0.25.0
BrewTestBot authored Jan 7, 2025
2 parents c136375 + 7fba475 commit 86132bb
Showing 1 changed file with 8 additions and 60 deletions.
68 changes: 8 additions & 60 deletions Formula/b/bat.rb
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
class Bat < Formula
desc "Clone of cat(1) with syntax highlighting and Git integration"
homepage "https://github.com/sharkdp/bat"
url "https://github.com/sharkdp/bat/archive/refs/tags/v0.25.0.tar.gz"
sha256 "4433403785ebb61d1e5d4940a8196d020019ce11a6f7d4553ea1d324331d8924"
license any_of: ["Apache-2.0", "MIT"]
revision 2
head "https://github.com/sharkdp/bat.git", branch: "master"

# Remove `stable` block when patch is no longer needed.
stable do
url "https://github.com/sharkdp/bat/archive/refs/tags/v0.24.0.tar.gz"
sha256 "907554a9eff239f256ee8fe05a922aad84febe4fe10a499def72a4557e9eedfb"

# Update libgit2-sys to support libgit2 1.8.
# Backport of https://github.com/sharkdp/bat/commit/c59dad0cae45d7aa84ad87583d6b6904b30839b2
patch :DATA
end

bottle do
sha256 cellar: :any, arm64_sequoia: "0725b04fd2c2bc239c1607b2677e3b31f577585ef7937f0b5813be3c7ecb3707"
sha256 cellar: :any, arm64_sonoma: "ed65b66d398da860e0e9ef1afa9025bac56107dae9eb654114ec93c87fdba6af"
sha256 cellar: :any, arm64_ventura: "fb0fb99732fa593bbc22a6e533c65e1b6187d74ab184dfbdafe3f71bf3b06042"
sha256 cellar: :any, sonoma: "d5cceac5588236f829a3c56fd5b739b96e6207f7c4fb18bc4440be6a5a1e5064"
sha256 cellar: :any, ventura: "4162ca42e5b44298ba227d2556a6e4b8fb926e31e4592a8fb3989f475378cd5a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "55dabc13b7034e338f7c8036ff8e1380276242a1b94d87a7697ed7e24cadfba9"
sha256 cellar: :any, arm64_sequoia: "7f6511940674c9e8097336d21780e84bfd49d93e56661ec93ed26178af9938f3"
sha256 cellar: :any, arm64_sonoma: "97e7b211e43959541347fd569fef9364389aed0545ca77645c6f5ff6fe01ab7a"
sha256 cellar: :any, arm64_ventura: "76e2e716127aa97fd1682c8ac0109cd77e9562026d6c74cc28ff7b24c811fdba"
sha256 cellar: :any, sonoma: "f0552ad124c44df31867880665faed7e06a03c7184f6d98ffe5de5aeebd0634c"
sha256 cellar: :any, ventura: "7ca686529ebe102c76b3b1b57e0562ece796bda2ea3e4c00aa2b550c08eafc6d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "56cfb323e50c0b946af214ca8fd9733d94149c6ca402d8d1a47b5731e915683b"
end

depends_on "pkgconf" => :build
@@ -66,46 +57,3 @@ def check_binary_linkage(binary, library)
end
end
end

__END__
diff --git a/Cargo.lock b/Cargo.lock
index d51c98a..90367a0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -523,9 +523,9 @@ dependencies = [

[[package]]
name = "git2"
-version = "0.18.0"
+version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12ef350ba88a33b4d524b1d1c79096c9ade5ef8c59395df0e60d1e1889414c0e"
+checksum = "b903b73e45dc0c6c596f2d37eccece7c1c8bb6e4407b001096387c63d0d93724"
dependencies = [
"bitflags 2.4.0",
"libc",
@@ -658,9 +658,9 @@ checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"

[[package]]
name = "libgit2-sys"
-version = "0.16.1+1.7.1"
+version = "0.17.0+1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2a2bb3680b094add03bb3732ec520ece34da31a8cd2d633d1389d0f0fb60d0c"
+checksum = "10472326a8a6477c3c20a64547b0059e4b0d086869eee31e6d7da728a8eb7224"
dependencies = [
"cc",
"libc",
diff --git a/Cargo.toml b/Cargo.toml
index e31fbc3..5fb32c8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -69,7 +69,7 @@ os_str_bytes = { version = "~6.4", optional = true }
run_script = { version = "^0.10.0", optional = true}

[dependencies.git2]
-version = "0.18"
+version = "0.19"
optional = true
default-features = false

0 comments on commit 86132bb

Please sign in to comment.