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

git-branchless: revision bump (libgit2@1.7 1.7.2) #177801

Merged
merged 2 commits into from
Jul 19, 2024
Merged
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
19 changes: 10 additions & 9 deletions Formula/g/git-branchless.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class GitBranchless < Formula
url "https://github.com/arxanas/git-branchless/archive/refs/tags/v0.9.0.tar.gz"
sha256 "fa64dc92ec522520a6407ff61241fc1819a3093337b4e3d0f80248ae76938d43"
license any_of: ["Apache-2.0", "MIT"]
revision 1
head "https://github.com/arxanas/git-branchless.git", branch: "master"

# Upstream appears to use GitHub releases to indicate that a version is
Expand All @@ -15,18 +16,18 @@ class GitBranchless < Formula
end

bottle do
sha256 cellar: :any, arm64_sonoma: "94d48275ff7f05494ed9a80084381b367bd56f82e67e265069806987a8411f9d"
sha256 cellar: :any, arm64_ventura: "6c3c8e9c6246ecbd43f05de74cffc45e76d8ba1f46c5d2b6a014751144f2d4b2"
sha256 cellar: :any, arm64_monterey: "3d1bf86800d60009cfa4e86cdd07bd481493963685c8e189a729a971c7052686"
sha256 cellar: :any, sonoma: "3b036d955e30b83fde879c735bd9e20bd39880392fd797aea004497a83bfba4b"
sha256 cellar: :any, ventura: "996464d2800b01b547794dce0d296c10ebb36e4250e2c3eb0b7393b3f384cf22"
sha256 cellar: :any, monterey: "f92bf814c3ffaea775f71d47941a0b2215d57131431689ab71602dfe4901c258"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f6b4243dbcb36ee645026ec663cb2472817339f8c7c9cc06f03d287b71f38a60"
sha256 cellar: :any, arm64_sonoma: "47147ac474e471683944e538c51247e38cdbf0807490538de8e29df3f7f6bbf3"
sha256 cellar: :any, arm64_ventura: "326b1e0ee09e7adcfc272ad867949d3a6a24887a4f1964c18d9515ea8426d067"
sha256 cellar: :any, arm64_monterey: "c477b93819d928cf1f49809da31fa435f0200502ca72082a12b63a7e33cb8cd5"
sha256 cellar: :any, sonoma: "9d9b8cbdbb39e63c00d2422f04b61f7b96be8f1e5928a7a5431b26f64bddb8fa"
sha256 cellar: :any, ventura: "9284601e4244db3daa85285f70718265ff6eb3182d7e15fcdbb37efa20ba6b88"
sha256 cellar: :any, monterey: "8724ef70c232f56c1ac3d543acb54cf85b8a49f426b81bb8b530550ab3dede69"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b22cae8643755fa4b87dd7cafa858a5a456a85fb39569a55afa0125ef42083fb"
end

depends_on "pkg-config" => :build
depends_on "rust" => :build
depends_on "libgit2"
depends_on "libgit2@1.7"

def install
ENV["LIBGIT2_NO_VENDOR"] = "1"
Expand All @@ -50,7 +51,7 @@ def install
linkage_with_libgit2 = (bin/"git-branchless").dynamically_linked_libraries.any? do |dll|
next false unless dll.start_with?(HOMEBREW_PREFIX.to_s)

File.realpath(dll) == (Formula["libgit2"].opt_lib/shared_library("libgit2")).realpath.to_s
File.realpath(dll) == (Formula["libgit2@1.7"].opt_lib/shared_library("libgit2")).realpath.to_s
end

assert linkage_with_libgit2, "No linkage with libgit2! Cargo is likely using a vendored version."
Expand Down
Loading