Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 1 addition & 2 deletions Formula/c/cargo-llvm-cov.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class CargoLlvmCov < Formula
desc "Cargo subcommand to easily use LLVM source-based code coverage"
homepage "https://github.com/taiki-e/cargo-llvm-cov"
# cannot use github tarball due to https://github.com/taiki-e/cargo-llvm-cov/pull/152#issuecomment-1107055622
url "https://static.crates.io/crates/cargo-llvm-cov/cargo-llvm-cov-0.6.9.crate", using: :nounzip
url "https://static.crates.io/crates/cargo-llvm-cov/cargo-llvm-cov-0.6.9.crate"
sha256 "137c054c19f1134aabe426018c3d8718ff5cfe679ba895f3f0a869eccf8b380b"
license any_of: ["Apache-2.0", "MIT"]
head "https://github.com/taiki-e/cargo-llvm-cov.git", branch: "main"
Expand All @@ -21,7 +21,6 @@ class CargoLlvmCov < Formula
depends_on "rustup-init" => :test

def install
system "tar", "--strip-components", "1", "-xzvf", "cargo-llvm-cov-#{version}.crate" unless build.head?
system "cargo", "install", *std_cargo_args
end

Expand Down
4 changes: 1 addition & 3 deletions Formula/c/cargo-outdated.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class CargoOutdated < Formula
# pulls same source from crates.io. v0.15.0+ is needed to avoid an older unsupported libgit2.
# We can switch back to GitHub releases when upstream decides to upload.
# Issue ref: https://github.com/kbknapp/cargo-outdated/issues/388
url "https://static.crates.io/crates/cargo-outdated/cargo-outdated-0.15.0.crate", using: :nounzip
url "https://static.crates.io/crates/cargo-outdated/cargo-outdated-0.15.0.crate"
sha256 "0641d14a828fe7dcf73e6df54d31ce19d4def4654d6fa8ec709961e561658a4d"
license "MIT"
head "https://github.com/kbknapp/cargo-outdated.git", branch: "master"
Expand All @@ -28,8 +28,6 @@ class CargoOutdated < Formula
depends_on "openssl@3"

def install
system "tar", "--strip-components", "1", "-xzvf", "cargo-outdated-#{version}.crate" if build.stable?

ENV["LIBGIT2_NO_VENDOR"] = "1"
ENV["OPENSSL_NO_VENDOR"] = "1"
ENV["OPENSSL_DIR"] = Formula["openssl@3"].opt_prefix
Expand Down
3 changes: 1 addition & 2 deletions Formula/o/oakc.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Oakc < Formula
desc "Portable programming language with a compact intermediate representation"
homepage "https://github.com/adam-mcdaniel/oakc"
url "https://static.crates.io/crates/oakc/oakc-0.6.1.crate", using: :nounzip
url "https://static.crates.io/crates/oakc/oakc-0.6.1.crate"
sha256 "1f4a90a3fd5c8ae32cb55c7a38730b6bfcf634f75e6ade0fd51c9db2a2431683"
license "Apache-2.0"
head "https://github.com/adam-mcdaniel/oakc.git", branch: "develop"
Expand All @@ -23,7 +23,6 @@ class Oakc < Formula
depends_on "rust" => :build

def install
system "tar", "--strip-components", "1", "-xzvf", "oakc-#{version}.crate"
system "cargo", "install", *std_cargo_args
pkgshare.install "examples"
end
Expand Down
3 changes: 1 addition & 2 deletions Formula/p/pngquant.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Pngquant < Formula
desc "PNG image optimizing utility"
homepage "https://pngquant.org/"
url "https://static.crates.io/crates/pngquant/pngquant-3.0.3.crate", using: :nounzip
url "https://static.crates.io/crates/pngquant/pngquant-3.0.3.crate"
sha256 "68a12bdd8825f9989f4ee9a6ab0b42727dae57728b939ef63453366697a07232"
license :cannot_represent
head "https://github.com/kornelski/pngquant.git", branch: "main"
Expand All @@ -22,7 +22,6 @@ class Pngquant < Formula
depends_on "little-cms2"

def install
system "tar", "--strip-components", "1", "-xzvf", "pngquant-#{version}.crate"
system "cargo", "install", *std_cargo_args
end

Expand Down