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

libgit2 1.9.0 #202651

Merged
merged 68 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
dd5849a
libgit2 1.9.0
BrewTestBot Dec 28, 2024
273af19
[email protected] 1.8.4 (new formula)
chenrui333 Jan 1, 2025
3d6bfac
bat: update to use libgit2 1.8
chenrui333 Jan 1, 2025
e71e2f6
cabin: update to use libgit2 1.8
chenrui333 Jan 1, 2025
73690af
cargo-c: update to use libgit2 1.8
chenrui333 Jan 1, 2025
e174fb6
cargo-generate: update to use libgit2 1.8
chenrui333 Jan 1, 2025
2c3f726
cargo-outdated: update to use libgit2 1.8
chenrui333 Jan 1, 2025
ac63f89
cargo-release: update to use libgit2 1.8
chenrui333 Jan 1, 2025
d01a3b4
cargo-shuttle: update to use libgit2 1.8
chenrui333 Jan 1, 2025
fb7e098
cargo-udeps: update to use libgit2 1.8
chenrui333 Jan 1, 2025
bb1549b
cocogitto: update to use libgit2 1.8
chenrui333 Jan 1, 2025
ba68dfa
convco: update to use libgit2 1.8
chenrui333 Jan 1, 2025
29ecbc1
criterion: revision bump (libgit2 1.9.0)
chenrui333 Jan 1, 2025
1682549
eza: update to use libgit2 1.8
chenrui333 Jan 1, 2025
90f7498
fselect: update to use libgit2 1.8
chenrui333 Jan 1, 2025
23cf110
gfold: update to use libgit2 1.8
chenrui333 Jan 1, 2025
3a68cb0
git-absorb: update to use libgit2 1.8
chenrui333 Jan 1, 2025
95b41e4
git-branchless: update to use libgit2 1.8
chenrui333 Jan 1, 2025
af66912
git-cliff: update to use libgit2 1.8
chenrui333 Jan 1, 2025
072bfd0
git-delta: update to use libgit2 1.8
chenrui333 Jan 1, 2025
8b5920d
git-interactive-rebase-tool: update to use libgit2 1.8
chenrui333 Jan 1, 2025
1fb5e0b
git-series: update to use libgit2 1.8
chenrui333 Jan 1, 2025
faa40bd
git-workspace: update to use libgit2 1.8
chenrui333 Jan 1, 2025
11e4aec
gitg: update to use libgit2 1.8
chenrui333 Jan 1, 2025
67c3a9f
jj: update to use libgit2 1.8
chenrui333 Jan 1, 2025
cdcf5cb
julia: update to use libgit2 1.8
chenrui333 Jan 1, 2025
3de637f
libgit2-glib: update to use libgit2 1.8
chenrui333 Jan 1, 2025
03ae5ee
mise: update to use libgit2 1.8
chenrui333 Jan 1, 2025
3620c44
nushell: update to use libgit2 1.8
carlocab Jan 2, 2025
c99e5de
prr: update to use libgit2 1.8
chenrui333 Jan 1, 2025
8799532
pygit2: update to use libgit2 1.8
chenrui333 Jan 1, 2025
abd39f9
rust: update to use libgit2 1.8
chenrui333 Jan 1, 2025
17ac370
sheldon: update to use libgit2 1.8
chenrui333 Jan 1, 2025
c0fd9f7
tmux-sessionizer: update to use libgit2 1.8
chenrui333 Jan 1, 2025
bfab5c3
bat: update 0.24.0_2 bottle.
chenrui333 Jan 2, 2025
060e760
cabin: update 0.11.0_1 bottle.
chenrui333 Jan 2, 2025
20b8e29
cargo-c: update 0.10.7_1 bottle.
chenrui333 Jan 2, 2025
7825246
cargo-generate: update 0.22.1_1 bottle.
chenrui333 Jan 2, 2025
f434c1f
cargo-outdated: update 0.16.0_1 bottle.
chenrui333 Jan 2, 2025
25204d6
cargo-release: update 0.25.15_1 bottle.
chenrui333 Jan 2, 2025
6d75e07
cargo-shuttle: update 0.49.0_1 bottle.
chenrui333 Jan 2, 2025
761cc9a
cargo-udeps: update 0.1.53_1 bottle.
chenrui333 Jan 2, 2025
7a45964
cocogitto: update 6.2.0_2 bottle.
chenrui333 Jan 2, 2025
f507045
convco: update 0.6.1_1 bottle.
chenrui333 Jan 2, 2025
937f568
criterion: update 2.4.2_2 bottle.
chenrui333 Jan 2, 2025
df3fef9
eza: update 0.20.15_1 bottle.
chenrui333 Jan 2, 2025
a814a3a
fselect: update 0.8.8_1 bottle.
chenrui333 Jan 2, 2025
cd08b4c
gfold: update 4.6.0_1 bottle.
chenrui333 Jan 2, 2025
b8c992c
git-absorb: update 0.6.16_1 bottle.
chenrui333 Jan 2, 2025
314ce6c
git-branchless: update 0.10.0_1 bottle.
chenrui333 Jan 2, 2025
40d46ae
git-cliff: update 2.7.0_1 bottle.
chenrui333 Jan 2, 2025
f3b07a9
git-delta: update 0.18.2_2 bottle.
chenrui333 Jan 2, 2025
cba846c
git-interactive-rebase-tool: update 2.4.1_3 bottle.
chenrui333 Jan 2, 2025
0b728aa
git-series: update 0.9.1_12 bottle.
chenrui333 Jan 2, 2025
6905c3b
git-workspace: update 1.8.0_1 bottle.
chenrui333 Jan 2, 2025
9bfd1f7
gitg: update 44_5 bottle.
chenrui333 Jan 2, 2025
686d948
jj: update 0.25.0_1 bottle.
chenrui333 Jan 2, 2025
4d18ab7
julia: update 1.11.2_1 bottle.
chenrui333 Jan 2, 2025
1531be0
libgit2: update 1.9.0 bottle.
chenrui333 Jan 2, 2025
f157bd3
libgit2-glib: update 1.2.0_3 bottle.
chenrui333 Jan 2, 2025
7bb8ec8
[email protected]: add 1.8.4 bottle.
chenrui333 Jan 2, 2025
1637d9f
mise: update 2025.1.0_1 bottle.
chenrui333 Jan 2, 2025
00324ed
nushell: update 0.101.0_1 bottle.
chenrui333 Jan 2, 2025
839949e
prr: update 0.19.0_2 bottle.
chenrui333 Jan 2, 2025
e9eba20
pygit2: update 1.16.0_1 bottle.
chenrui333 Jan 2, 2025
92c636e
rust: update 1.83.0_1 bottle.
chenrui333 Jan 2, 2025
e8ad9c1
sheldon: update 0.8.0_1 bottle.
chenrui333 Jan 2, 2025
8e64686
tmux-sessionizer: update 0.4.4_1 bottle.
chenrui333 Jan 2, 2025
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
File renamed without changes.
19 changes: 9 additions & 10 deletions Formula/b/bat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Bat < Formula
desc "Clone of cat(1) with syntax highlighting and Git integration"
homepage "https://github.com/sharkdp/bat"
license any_of: ["Apache-2.0", "MIT"]
revision 1
revision 2
head "https://github.com/sharkdp/bat.git", branch: "master"

# Remove `stable` block when patch is no longer needed.
Expand All @@ -16,18 +16,17 @@ class Bat < Formula
end

bottle do
rebuild 1
sha256 cellar: :any, arm64_sequoia: "551f2475fea64abf18cc89dd3d7b5b81025f1eea76ec9822931698746252c7b6"
sha256 cellar: :any, arm64_sonoma: "6cc195324f99c03418d089b273b581856ad80876845898c3e932d843ce9b36d7"
sha256 cellar: :any, arm64_ventura: "cdf2086708888cbf4196097e7970faefa5d307d1af1596318cad3e40125952a1"
sha256 cellar: :any, sonoma: "ef586d39057da2d71132ff3828a787602865895305a314356fcd91d2ad062736"
sha256 cellar: :any, ventura: "34437a8949ccf6c038623ed61c5a1741a60ac34a8fd09f55eac283485e780458"
sha256 cellar: :any_skip_relocation, x86_64_linux: "a9b46511808dedc8e88fe9a7194adee9d873e84c32a22a5fdc2b66f13cf35b56"
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"
end

depends_on "pkgconf" => :build
depends_on "rust" => :build
depends_on "libgit2"
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
depends_on "oniguruma"

def install
Expand Down Expand Up @@ -59,7 +58,7 @@ def check_binary_linkage(binary, library)
assert_match "Homebrew test", output

[
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.8"].opt_lib/shared_library("libgit2"),
Formula["oniguruma"].opt_lib/shared_library("libonig"),
].each do |library|
assert check_binary_linkage(bin/"bat", library),
Expand Down
15 changes: 8 additions & 7 deletions Formula/c/cabin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ class Cabin < Formula
url "https://github.com/cabinpkg/cabin/archive/refs/tags/0.11.0.tar.gz"
sha256 "0ffefbfa8aa26a55c9acb058943a35a4d316ad13f588fee0c66ee5e16673e657"
license "Apache-2.0"
revision 1
head "https://github.com/cabinpkg/cabin.git", branch: "main"

bottle do
sha256 cellar: :any, arm64_sequoia: "718a61b02f0570116f728f6781b324960c1befdcebb323b11e9a5579df070949"
sha256 cellar: :any, arm64_sonoma: "428beabf2dbf2d516fc142fed8d159876f10f4561cb830e48f85e1ea6092a788"
sha256 cellar: :any, arm64_ventura: "93f89a86a5cbf309887eadb863631829e0c5fc899dd11c1c23f64d55323d0e47"
sha256 cellar: :any, sonoma: "05bbcea8035588f3d0fecf766109e7e69baee7c573b1e326126d8812f642cc0e"
sha256 cellar: :any, ventura: "f28c62b0d3c9ea57cdcd40b84beb17e57d9bb56f10043632f87a71f0e9da8100"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e30409295c48daf0a199dfdaee56914cd22cfc2601923c72be7e16031a1234f3"
sha256 cellar: :any, arm64_sequoia: "c24a7739166e9d08a4cc7f883d3a90b6e8528dd7db622c970d2f53c994c59506"
sha256 cellar: :any, arm64_sonoma: "4438f8cd89a498219256b7844de9b129be12d30cdeab3ebcbef42c181dcc9e24"
sha256 cellar: :any, arm64_ventura: "b266bbce28bcf942c16038b18c11a440f894b022f7411ea6e545158a2a2bc5ce"
sha256 cellar: :any, sonoma: "93ddb33c84187fe72debab940444dd25939637210d43eb392535e38231fcecbb"
sha256 cellar: :any, ventura: "553462ad734a97b0e7600d0821170cbe11f929668132cfb1aa0221ab28ad0a00"
sha256 cellar: :any_skip_relocation, x86_64_linux: "07f5c88feb9dd1a7f6eff05fb0d1c87a33bb46413644eb1c6fa4052744c89319"
end

depends_on "nlohmann-json" => :build
depends_on "toml11" => :build
depends_on "curl"
depends_on "fmt"
depends_on "libgit2"
depends_on "libgit2@1.8"
depends_on "pkgconf"
depends_on "tbb"

Expand Down
17 changes: 9 additions & 8 deletions Formula/c/cargo-c.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@ class CargoC < Formula
url "https://github.com/lu-zero/cargo-c/archive/refs/tags/v0.10.7.tar.gz"
sha256 "c4532dd2bf23769df5f64649d5b0c037fb2a29467c74d16a54bad3054d9f3f3a"
license "MIT"
revision 1

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

bottle do
sha256 cellar: :any, arm64_sequoia: "5951973b69b0cb31e7ce329ea10ec1e079a623f41ff1a98f711c84798c1e42eb"
sha256 cellar: :any, arm64_sonoma: "9be9fcbaa46d8145277a02eeb086b70cfd227d1c5f8fd8bcb5fbf7038f78ad4d"
sha256 cellar: :any, arm64_ventura: "814ef6637f5e55538275ff4e12e00c19f10b9931a00abfcc3bd924434a3f187d"
sha256 cellar: :any, sonoma: "bbeaf25cbfcfff7b2c2d24bf042e361ee2d7f75aeba4a06699abaf0d88145d6f"
sha256 cellar: :any, ventura: "5f48c342177b5ffe5653a601588ec3db7bec366df7aa1fd0173429b2fb242a41"
sha256 cellar: :any_skip_relocation, x86_64_linux: "79ec2ac05df9f384a6c372610c7f995bd3f518f0d341eb53f1e5fa709f122f4e"
sha256 cellar: :any, arm64_sequoia: "8aec96a2dce142fbe7f95ab307f1db7b97461e8015883540ff5e3f1ea81e87d2"
sha256 cellar: :any, arm64_sonoma: "d35a8a6e883a1c24edaae1859c95538203949b37797ba889d86f0ede922ed70b"
sha256 cellar: :any, arm64_ventura: "472d2114a047824e76ad513d80091d232b88409ca5e55a893a48cc5614efd2c1"
sha256 cellar: :any, sonoma: "af9bcc231409f9459314350d12028555f625952dabe4959fe6fe408cf83a421e"
sha256 cellar: :any, ventura: "09f6635f2e7d963d798d1229508d2cf3ce98a067c666586889a4c3bce5aa51d1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9a65e5792a0cef75b7fe70f1bf738b752d6cac6798e108a87441b67b50ff39fe"
end

depends_on "pkgconf" => :build
depends_on "rust" => :build
depends_on "libgit2"
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
depends_on "libssh2"
depends_on "openssl@3"

Expand Down Expand Up @@ -55,7 +56,7 @@ def check_binary_linkage(binary, library)
assert_match cargo_error, shell_output("#{bin}/cargo-cbuild cbuild 2>&1", 1)

[
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.8"].opt_lib/shared_library("libgit2"),
Formula["libssh2"].opt_lib/shared_library("libssh2"),
Formula["openssl@3"].opt_lib/shared_library("libssl"),
Formula["openssl@3"].opt_lib/shared_library("libcrypto"),
Expand Down
17 changes: 9 additions & 8 deletions Formula/c/cargo-generate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ class CargoGenerate < Formula
url "https://github.com/cargo-generate/cargo-generate/archive/refs/tags/v0.22.1.tar.gz"
sha256 "f912f1c172a5a51ac7a693f44acaef99f5b9278723aa4daaeb96278807e025bd"
license any_of: ["Apache-2.0", "MIT"]
revision 1
head "https://github.com/cargo-generate/cargo-generate.git", branch: "main"

bottle do
sha256 cellar: :any, arm64_sequoia: "4326e76a07be0e6260943e9687a8c7f533cac0354232fd037d185610116b861b"
sha256 cellar: :any, arm64_sonoma: "b723f39711ec75e2c8bad9de8544a36f6f5f4a56d05edf9c4d3cf99b290a072e"
sha256 cellar: :any, arm64_ventura: "cabf92e8da2ff15436c42334e6383226d08ed64e108492df5314517763ebdd94"
sha256 cellar: :any, sonoma: "4fc74035244a7a7f9e0b43701554fd1a746f7d464fa17b77b6a76d3a372eda46"
sha256 cellar: :any, ventura: "6792b5b18b74be10b52a49b9ab60983aa7b70101951463254ad296cdb2c485e5"
sha256 cellar: :any_skip_relocation, x86_64_linux: "dd951667b6714ad976a1563617dba8e572c2fda7bf0a7517a045a2dd630d9626"
sha256 cellar: :any, arm64_sequoia: "cc8c8913389620fe33dac4be8b56cadb0706a12868f3010f59a3ed10205428e7"
sha256 cellar: :any, arm64_sonoma: "de2a3a85b67415125afaae67fdee814e6fd72fbca91ec89a018ed7afb010dad5"
sha256 cellar: :any, arm64_ventura: "453fdc9e96ba47c20735ede9c836825d72f87376dc7b8c97ca4a0b217297cd31"
sha256 cellar: :any, sonoma: "6525b1e29c5fd2ba0c5c8e99940d6f4114888658c25312805d7ac61a8551cba1"
sha256 cellar: :any, ventura: "1e4563b9ecc0817e6bd3b86614f5dd918f78817a626e45d8441286a033dd640b"
sha256 cellar: :any_skip_relocation, x86_64_linux: "ad35d30247d8cd9e9209b5c4a6d36f01018d531eb4e3d9b75912012c975d672d"
end

depends_on "pkgconf" => :build
depends_on "rust" => :build
depends_on "libgit2"
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
depends_on "libssh2"
depends_on "openssl@3"

Expand Down Expand Up @@ -48,7 +49,7 @@ def check_binary_linkage(binary, library)
assert_match "brewtest", (testpath/"brewtest/Cargo.toml").read

linked_libraries = [
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.8"].opt_lib/shared_library("libgit2"),
Formula["libssh2"].opt_lib/shared_library("libssh2"),
Formula["openssl@3"].opt_lib/shared_library("libssl"),
]
Expand Down
17 changes: 9 additions & 8 deletions Formula/c/cargo-outdated.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ class CargoOutdated < Formula
url "https://static.crates.io/crates/cargo-outdated/cargo-outdated-0.16.0.crate"
sha256 "965d39dfcc7afd39a0f2b01e282525fc2211f6e8acc85f1ee27f704420930678"
license "MIT"
revision 1
head "https://github.com/kbknapp/cargo-outdated.git", branch: "master"

bottle do
sha256 cellar: :any, arm64_sequoia: "4d34640c51d476d3c0e3edffc99932c71e213f2714d3aaf23d58109916bfe637"
sha256 cellar: :any, arm64_sonoma: "1771e1804acfe1537233821c9185975e0061bca378a88594682fe11d1f0ff032"
sha256 cellar: :any, arm64_ventura: "f188cda8e578bb128373a2fa2703a8682cebe9b570f798b541b5bdb84ffaed84"
sha256 cellar: :any, sonoma: "5fa2feab40497eb4d6f4c82bcf23bdac336159c46c027ac2c7b88e547a127e10"
sha256 cellar: :any, ventura: "01ba35ef314267282776569918241939965bc829c133c8d11736a4c6b0b2847d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "a34bc7ad70d3828def2fbaa0a4849105339300d72ba4abc0fadc3269fb0fbf8b"
sha256 cellar: :any, arm64_sequoia: "6049f49c035ed7bb3e593d48821239c93b03643ef60aacb847d86db52037c8a0"
sha256 cellar: :any, arm64_sonoma: "d702cdb138bab9eb25da3782caaeaad6702bc604e0f99551472ac0b926557d87"
sha256 cellar: :any, arm64_ventura: "1060e9672f0ced9f9e2f62f3140c79a9561062ab24439a3c1ea669244bf323a6"
sha256 cellar: :any, sonoma: "61985936a86ff5a4848bd6fe7c9fec1346065ec0ef16dad3ae6b880a86cd50cc"
sha256 cellar: :any, ventura: "aea8615845515169d44ee3cbdb4cc8b29b591a0530f5142a8eaef64ee1bf5fe9"
sha256 cellar: :any_skip_relocation, x86_64_linux: "23c83b573ccf7c64e862557f2bd62a398476ee426fb91826746f68114f0335ee"
end

depends_on "pkgconf" => :build
depends_on "rust" => :build
depends_on "rustup" => :test
depends_on "libgit2"
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
depends_on "openssl@3"

uses_from_macos "zlib"
Expand Down Expand Up @@ -72,7 +73,7 @@ def check_binary_linkage(binary, library)
end

[
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.8"].opt_lib/shared_library("libgit2"),
Formula["openssl@3"].opt_lib/shared_library("libssl"),
Formula["openssl@3"].opt_lib/shared_library("libcrypto"),
].each do |library|
Expand Down
17 changes: 9 additions & 8 deletions Formula/c/cargo-release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@ class CargoRelease < Formula
url "https://github.com/crate-ci/cargo-release/archive/refs/tags/v0.25.15.tar.gz"
sha256 "dee97fbcb6124f7d159cfc0ea8fb3977da1513da2135b179bd48dbcd0abde616"
license any_of: ["Apache-2.0", "MIT"]
revision 1
head "https://github.com/crate-ci/cargo-release.git", branch: "master"

bottle do
sha256 cellar: :any, arm64_sequoia: "e617f9b2cbfe43a7c841e82c4e9ace6febaa639666f68b59e176ef7ff48beaf1"
sha256 cellar: :any, arm64_sonoma: "c77ddbdd498de5f68789072debe9ed69411d0883771db2e9039130ef15bdc57a"
sha256 cellar: :any, arm64_ventura: "bc8e95f349b29d5526778f4024c880c975b5c381962fd719423c89477862742a"
sha256 cellar: :any, sonoma: "582e6f58dcb8361458e117660b6b4ed6b43126a8e33fff4475200c49da47efdb"
sha256 cellar: :any, ventura: "3a758f4162c86ec6d51448556dd7b9193fe49aeeaf1f1010a3fee7d58f47174d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f7f4394fbb5c4647d557163bcab41988b3b0199688e22534b22409249414bb23"
sha256 cellar: :any, arm64_sequoia: "2574c100ae1015f8400a41596e75d55a42b9685b1409711f20ee9a6699b933f7"
sha256 cellar: :any, arm64_sonoma: "0f6d3557c3ad479fb4360c77db610c57ed9c878b2e7bba9569c5d0d47d4965df"
sha256 cellar: :any, arm64_ventura: "17dc706dc7989bb6ff4f71fa805fa919e3a2d49a568a631445eed34c3233439d"
sha256 cellar: :any, sonoma: "755d6c97605883787a5c3e41f1d95af5dd06c811355af98ae6c6f1ff650d1e80"
sha256 cellar: :any, ventura: "f6fc62d039fac5fdce20dea2b9f1061f96f316dbe117fb0577041b829dc3212a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "5e63024709978df9416b5c9f399d37aea926e3005fdb35c8cf8d47dbb4693eb4"
end

depends_on "pkgconf" => :build
depends_on "rust" => :build
depends_on "rustup" => :test
depends_on "libgit2"
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9

def install
ENV["LIBGIT2_NO_VENDOR"] = "1"
Expand Down Expand Up @@ -47,7 +48,7 @@ def check_binary_linkage(binary, library)
end

[
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.8"].opt_lib/shared_library("libgit2"),
].each do |library|
assert check_binary_linkage(bin/"cargo-release", library),
"No linkage with #{library.basename}! Cargo is likely using a vendored version."
Expand Down
15 changes: 8 additions & 7 deletions Formula/c/cargo-shuttle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ class CargoShuttle < Formula
url "https://github.com/shuttle-hq/shuttle/archive/refs/tags/v0.49.0.tar.gz"
sha256 "fe13c6a0717edd1d6ec838c6abf02d3230b379083d4daf8f63621d47d1ceded6"
license "Apache-2.0"
revision 1
head "https://github.com/shuttle-hq/shuttle.git", branch: "main"

bottle do
sha256 cellar: :any, arm64_sequoia: "7d7df9f8bd0165fa7dc319a5c292a1963dbbbd02fb9acc9a82be84a324069497"
sha256 cellar: :any, arm64_sonoma: "e8ea01a46ba6b94af54656b0a97ac89258031a9a364aeb6a92c9cf995132a2aa"
sha256 cellar: :any, arm64_ventura: "d67182c4ef74a39a5dcdf99b2b6cd1405211f098b2a41d2ba7482cbcd954abb3"
sha256 cellar: :any, sonoma: "562c9bdcb385fb3d89567b28e90bd5e6eb6a7695b88c3ee2b1a5c6ae6bb07220"
sha256 cellar: :any, ventura: "97723f1be157be4af14ed4d76c82b4fa210a8b1252b57362fce0273654576339"
sha256 cellar: :any_skip_relocation, x86_64_linux: "92e199d3de11901d1ebb0d2bb4b475ad9a6d9d1157d858c159773c0bc6b7c992"
sha256 cellar: :any, arm64_sequoia: "e4f4bcd687ba6e974b1c6752bd95bf8379b7c384ddb1e605e6694a90b115b340"
sha256 cellar: :any, arm64_sonoma: "a8d0d989c7b740ef6a1f6d0e982200cb07279c5375ee1c0639f281420eff6515"
sha256 cellar: :any, arm64_ventura: "198d4256b344bb905069bcbf51103fa141816c2613e5148d1fc7c8ca02b14e40"
sha256 cellar: :any, sonoma: "614b43b6ea478ca9a49ec7ba28bd2d8e0d3aaca078850e5cb5d1b9e974a917fe"
sha256 cellar: :any, ventura: "88d63a4f34aa7568222edd899045c4005d24e946c3aa44784e7068c1a278358c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1400520b9e73b07cbb4d34ef411dbec11c7b7efaec05982447700faed19bb328"
end

depends_on "pkgconf" => :build
depends_on "rust" => :build
depends_on "libgit2"
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9

uses_from_macos "bzip2"

Expand Down
18 changes: 10 additions & 8 deletions Formula/c/cargo-udeps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ class CargoUdeps < Formula
url "https://github.com/est31/cargo-udeps/archive/refs/tags/v0.1.53.tar.gz"
sha256 "fc4581c996dcbd8a9e660f49a55ada68e39c4b07a0eda9bd8efe1006e1dd1c73"
license any_of: ["Apache-2.0", "MIT"]
revision 1

bottle do
sha256 cellar: :any, arm64_sequoia: "12be653d70676ad78cc09e4a2a0080ea7bc05dd2e26d97edd7aaa6c4dbe99dd5"
sha256 cellar: :any, arm64_sonoma: "98fc902d83ba3b52f7bff706a3adcce1c0ef7be85e97288cb8984e4057416ea7"
sha256 cellar: :any, arm64_ventura: "99809e0d75a6cbeb830ba4ee7701a6045ba70e65041c9fbec44d74aa9b41efcb"
sha256 cellar: :any, sonoma: "4585400b1dd440bb929a16037ed76f714fe2b43546d976b154bcb5366ce68093"
sha256 cellar: :any, ventura: "410a2ad5bece4b3b765b0da03726060282611fb25ea3c2500619dd11d7f8e386"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4b0f6cc7eb304b42112cf561f471b6600ff57af518c389a82713347f644f25ab"
sha256 cellar: :any, arm64_sequoia: "e1fb68cf1d9ffdf5e6b818d92e2233bad9cca8a8c4c0d6d650cf9e5215d8e447"
sha256 cellar: :any, arm64_sonoma: "cc9ee12b128e941caec64b271ff436cd8de98be54f5a7d327eb56d76b8897d42"
sha256 cellar: :any, arm64_ventura: "463e45fbfe269b9d7cb78a1ed9e6f9e37d0809d79014c7526636a880f8118032"
sha256 cellar: :any, sonoma: "2cb29b8db03ba0781acea4b3d023e8355570171947c6658b6f366bc65e153fdf"
sha256 cellar: :any, ventura: "67e6378019d16e0fefcfae97d225ee0673834eb24269884a3793df4976b7bb09"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3734990ed4b83f9d2a85d6b675e3a25d0b3bded7cb3a5f7d29ef3b608768c0e4"
end

depends_on "pkgconf" => :build
depends_on "rust" => :build
depends_on "rustup" => :test
depends_on "libgit2"
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
depends_on "libssh2"
depends_on "openssl@3"

Expand All @@ -28,6 +29,7 @@ def install
ENV["LIBSSH2_SYS_USE_PKG_CONFIG"] = "1"
ENV["OPENSSL_DIR"] = Formula["openssl@3"].opt_prefix
ENV["OPENSSL_NO_VENDOR"] = "1"

system "cargo", "install", "--no-default-features", *std_cargo_args
end

Expand Down Expand Up @@ -64,7 +66,7 @@ def check_binary_linkage(binary, library)
end

[
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.8"].opt_lib/shared_library("libgit2"),
Formula["libssh2"].opt_lib/shared_library("libssh2"),
Formula["openssl@3"].opt_lib/shared_library("libssl"),
Formula["openssl@3"].opt_lib/shared_library("libcrypto"),
Expand Down
Loading
Loading