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

cargo-outdated: use libgit2@1.7 #177771

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Changes from 1 commit
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
5 changes: 3 additions & 2 deletions Formula/c/cargo-outdated.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CargoOutdated < Formula

Check warning on line 1 in Formula/c/cargo-outdated.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew linkage --cached --test --strict cargo-outdated` failed on Linux!

Indirect dependencies with linkage: zlib
desc "Cargo subcommand for displaying when Rust dependencies are out of date"
homepage "https://github.com/kbknapp/cargo-outdated"
# We use crates.io url since the corresponding GitHub tag is missing. This is the latest
Expand All @@ -9,6 +9,7 @@
url "https://static.crates.io/crates/cargo-outdated/cargo-outdated-0.15.0.crate"
sha256 "0641d14a828fe7dcf73e6df54d31ce19d4def4654d6fa8ec709961e561658a4d"
license "MIT"
revision 1
head "https://github.com/kbknapp/cargo-outdated.git", branch: "master"

bottle do
Expand All @@ -24,7 +25,7 @@
depends_on "pkg-config" => :build
depends_on "rust" => :build
depends_on "rustup-init" => :test
depends_on "libgit2"
depends_on "libgit2@1.7"
depends_on "openssl@3"

def install
Expand Down Expand Up @@ -72,7 +73,7 @@
end

[
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.7"].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
Loading