Skip to content

Commit

Permalink
Merge pull request #137013 from neersighted/bump-git-interactive-reba…
Browse files Browse the repository at this point in the history
…se-tool-2.3.0

git-interactive-rebase-tool 2.3.0
  • Loading branch information
BrewTestBot authored Jul 27, 2023
2 parents d0dd9f4 + ce0f466 commit 18d4e96
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions Formula/git-interactive-rebase-tool.rb
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
class GitInteractiveRebaseTool < Formula
desc "Native sequence editor for Git interactive rebase"
homepage "https://gitrebasetool.mitmaro.ca/"
url "https://github.com/MitMaro/git-interactive-rebase-tool/archive/2.2.1.tar.gz"
sha256 "86f262e6607ac0bf5cee22ca1b333cf9f827e09d3257658d525a518aa785ca7c"
url "https://github.com/MitMaro/git-interactive-rebase-tool/archive/2.3.0.tar.gz"
sha256 "4af63703b3504370ef298693abc5061fe5bf215536e6d45952afda33a92f8101"
license "GPL-3.0-or-later"
revision 1

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
end

bottle do
sha256 cellar: :any, arm64_ventura: "81c3010ced34175a71c93debfca1a074559ede8dbc44c3e8503fd06bfc1e9b65"
sha256 cellar: :any, arm64_monterey: "ab88da6750263baa5f17e8ef0fbf5202a72adc1f849fa90d16086d6dbf0deca9"
sha256 cellar: :any, arm64_big_sur: "cc6a74874c27c762e677cf4f882479b5392d6625b6a5286d9d81b8944af00e7b"
sha256 cellar: :any, ventura: "631910ee464118d7db43a58b6e1e0e592522feaeaaaa000fdd7f2801858581f8"
sha256 cellar: :any, monterey: "1bc6945ffa674db04d40f46768de0cd7eef18e10fbacc7a781d14f17e1cd54f4"
sha256 cellar: :any, big_sur: "8b46968eea1f837abae46382b005829cc5fd97195c6a44c64b48573e71f958d2"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d24e90c4a92b407827923f32162381fe6a7ce85cacdfa779429d3bedc5839320"
sha256 cellar: :any_skip_relocation, arm64_ventura: "1fd3d07fa97db3fa78fa3692d55639319d37c215f87dd2602df938059eb57919"
sha256 cellar: :any_skip_relocation, arm64_monterey: "95392c47907085f0970c680ee9413c427bff5fb5ab2355c50d1f5cb71f50e963"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "cd8e36d75be1cb00efa1837df471e4ac970a60e5667bf3cdcd714c0cdb961b41"
sha256 cellar: :any_skip_relocation, ventura: "f972a3c5408ec3ba45bf072209e5a2c974c0c219be595dd074a5c4363ce2f735"
sha256 cellar: :any_skip_relocation, monterey: "9f9e1b520e626632725b75e254ee43c7778f9eab9c462e400a2e872378134e7d"
sha256 cellar: :any_skip_relocation, big_sur: "060a6d4d3ad11c25721d86e4ae00729b8a8019ea8d8e9b6edadbcf3e993e6cc5"
sha256 cellar: :any_skip_relocation, x86_64_linux: "aa8408b90bbd094f1e96cac2af2c01ddafccc49ad89cbf4b714457a26b70a9bf"
end

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

uses_from_macos "zlib"

def install
system "cargo", "install", *std_cargo_args
Expand Down Expand Up @@ -54,13 +54,5 @@ def install

assert_equal 0, $CHILD_STATUS.exitstatus
assert_equal expected_git_rebase_todo, todo_file.read

linkage_with_libgit2 = executable.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
end

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

0 comments on commit 18d4e96

Please sign in to comment.