Skip to content

Commit 82a49c6

Browse files
authored
Merge pull request #203729 from Homebrew/prr-libgit2-1.9
prr: update to use libgit2 1.9
2 parents d2fb4e4 + b93724f commit 82a49c6

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

Formula/p/prr.rb

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@ class Prr < Formula
22
desc "Mailing list style code reviews for github"
33
homepage "https://github.com/danobi/prr"
44
license "GPL-2.0-only"
5-
revision 2
5+
revision 3
66
head "https://github.com/danobi/prr.git", branch: "master"
77

88
stable do
99
url "https://github.com/danobi/prr/archive/refs/tags/v0.19.0.tar.gz"
1010
sha256 "76d101fefe42456d0c18a64e6f57b9d3a84baaecaf1e3a5e94b93657a6773c11"
1111

12-
# support libgit2 1.8, upstream pr ref, https://github.com/MitMaro/git-interactive-rebase-tool/pull/948
12+
# support libgit2 1.8, upstream pr ref, https://github.com/danobi/prr/pull/67
1313
patch do
1414
url "https://github.com/danobi/prr/commit/c860f3d29c3607b10885e6526bea4cfd242815b5.patch?full_index=1"
1515
sha256 "208bbbdf4358f98c01b567146d0da2d1717caa53e4d2e5ea55ae29f5adaaaae2"
1616
end
17+
# support libgit2 1.9, upstream pr ref, https://github.com/danobi/prr/pull/69
18+
patch do
19+
url "https://github.com/danobi/prr/commit/84c0d0c324fb5a1334b72dc1fdf65c8e81c2cd01.patch?full_index=1"
20+
sha256 "e695229e73e83f5d06c9b9ac9714c053088f6862d6db699e1d3101413b2d06d4"
21+
end
1722

1823
# completion and manpage support, upstream pr ref, https://github.com/danobi/prr/pull/68
1924
patch do
@@ -23,17 +28,17 @@ class Prr < Formula
2328
end
2429

2530
bottle do
26-
sha256 cellar: :any, arm64_sequoia: "55088b52450bbe27b38177e4c0dbac2480defc15dc48e66aaf03c834178803b0"
27-
sha256 cellar: :any, arm64_sonoma: "bd278e9e68140e02e6841496f7d84c6092f06390c7a525b4a5dbb8b5a1377fdc"
28-
sha256 cellar: :any, arm64_ventura: "c9e7b1a6479fd33c34d1be401fb6fc4145e36a642884bfeedb1574b323f4c1d6"
29-
sha256 cellar: :any, sonoma: "a40a5696842f03b31a694ace93ce5775c42b747e42915a901031d487e2319580"
30-
sha256 cellar: :any, ventura: "c79aa8de4e7ea6477ca584cca5261dcb7a955b3e845ea5321d1afa33c0344859"
31-
sha256 cellar: :any_skip_relocation, x86_64_linux: "5a878aed66f84e1e1be4885647859eaef4676cab25dae269aea0855203f10874"
31+
sha256 cellar: :any, arm64_sequoia: "1935f2644eed1aea55ec06e5169cf4768f4add80d324be5bb986ba6e6b4cf416"
32+
sha256 cellar: :any, arm64_sonoma: "5eb5d8287cde7049ce2ffc0dac1e5bb46a8d8d112f69cefac3fd2b0af95ba0cc"
33+
sha256 cellar: :any, arm64_ventura: "a6ca2fcec336fe4248924d153b101e878575a5f64156be4ef656d9ee25e79c0d"
34+
sha256 cellar: :any, sonoma: "ae3767c62caefd53b2eac176b08cf87e3ea21396eb75861b710e4d328d7a19da"
35+
sha256 cellar: :any, ventura: "9312b31f0f636a53a15ac44e63495421d6c94836bd13e346914cce9da3a6845f"
36+
sha256 cellar: :any_skip_relocation, x86_64_linux: "e4e577e866ec76b2a49589a6d10cbdaad14cbce93fefa69eb899fae6fb9e6424"
3237
end
3338

3439
depends_on "pkgconf" => :build
3540
depends_on "rust" => :build
36-
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
41+
depends_on "libgit2"
3742
depends_on "openssl@3"
3843

3944
uses_from_macos "zlib"
@@ -68,7 +73,7 @@ def check_binary_linkage(binary, library)
6873
assert_match "Failed to read config", shell_output("#{bin}/prr get Homebrew/homebrew-core/6 2>&1", 1)
6974

7075
[
71-
Formula["libgit2@1.8"].opt_lib/shared_library("libgit2"),
76+
Formula["libgit2"].opt_lib/shared_library("libgit2"),
7277
Formula["openssl@3"].opt_lib/shared_library("libssl"),
7378
Formula["openssl@3"].opt_lib/shared_library("libcrypto"),
7479
].each do |library|

0 commit comments

Comments
 (0)