Skip to content

Commit fcb2ff2

Browse files
authored
Merge pull request #168952 from branchvincent/crates
misc: remove `:nounzip`
2 parents 36ce58b + 1638909 commit fcb2ff2

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

Formula/c/cargo-llvm-cov.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class CargoLlvmCov < Formula
22
desc "Cargo subcommand to easily use LLVM source-based code coverage"
33
homepage "https://github.com/taiki-e/cargo-llvm-cov"
44
# cannot use github tarball due to https://github.com/taiki-e/cargo-llvm-cov/pull/152#issuecomment-1107055622
5-
url "https://static.crates.io/crates/cargo-llvm-cov/cargo-llvm-cov-0.6.9.crate", using: :nounzip
5+
url "https://static.crates.io/crates/cargo-llvm-cov/cargo-llvm-cov-0.6.9.crate"
66
sha256 "137c054c19f1134aabe426018c3d8718ff5cfe679ba895f3f0a869eccf8b380b"
77
license any_of: ["Apache-2.0", "MIT"]
88
head "https://github.com/taiki-e/cargo-llvm-cov.git", branch: "main"
@@ -21,7 +21,6 @@ class CargoLlvmCov < Formula
2121
depends_on "rustup-init" => :test
2222

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

Formula/c/cargo-outdated.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class CargoOutdated < Formula
66
# pulls same source from crates.io. v0.15.0+ is needed to avoid an older unsupported libgit2.
77
# We can switch back to GitHub releases when upstream decides to upload.
88
# Issue ref: https://github.com/kbknapp/cargo-outdated/issues/388
9-
url "https://static.crates.io/crates/cargo-outdated/cargo-outdated-0.15.0.crate", using: :nounzip
9+
url "https://static.crates.io/crates/cargo-outdated/cargo-outdated-0.15.0.crate"
1010
sha256 "0641d14a828fe7dcf73e6df54d31ce19d4def4654d6fa8ec709961e561658a4d"
1111
license "MIT"
1212
head "https://github.com/kbknapp/cargo-outdated.git", branch: "master"
@@ -28,8 +28,6 @@ class CargoOutdated < Formula
2828
depends_on "openssl@3"
2929

3030
def install
31-
system "tar", "--strip-components", "1", "-xzvf", "cargo-outdated-#{version}.crate" if build.stable?
32-
3331
ENV["LIBGIT2_NO_VENDOR"] = "1"
3432
ENV["OPENSSL_NO_VENDOR"] = "1"
3533
ENV["OPENSSL_DIR"] = Formula["openssl@3"].opt_prefix

Formula/o/oakc.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class Oakc < Formula
22
desc "Portable programming language with a compact intermediate representation"
33
homepage "https://github.com/adam-mcdaniel/oakc"
4-
url "https://static.crates.io/crates/oakc/oakc-0.6.1.crate", using: :nounzip
4+
url "https://static.crates.io/crates/oakc/oakc-0.6.1.crate"
55
sha256 "1f4a90a3fd5c8ae32cb55c7a38730b6bfcf634f75e6ade0fd51c9db2a2431683"
66
license "Apache-2.0"
77
head "https://github.com/adam-mcdaniel/oakc.git", branch: "develop"
@@ -23,7 +23,6 @@ class Oakc < Formula
2323
depends_on "rust" => :build
2424

2525
def install
26-
system "tar", "--strip-components", "1", "-xzvf", "oakc-#{version}.crate"
2726
system "cargo", "install", *std_cargo_args
2827
pkgshare.install "examples"
2928
end

Formula/p/pngquant.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class Pngquant < Formula
22
desc "PNG image optimizing utility"
33
homepage "https://pngquant.org/"
4-
url "https://static.crates.io/crates/pngquant/pngquant-3.0.3.crate", using: :nounzip
4+
url "https://static.crates.io/crates/pngquant/pngquant-3.0.3.crate"
55
sha256 "68a12bdd8825f9989f4ee9a6ab0b42727dae57728b939ef63453366697a07232"
66
license :cannot_represent
77
head "https://github.com/kornelski/pngquant.git", branch: "main"
@@ -22,7 +22,6 @@ class Pngquant < Formula
2222
depends_on "little-cms2"
2323

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

0 commit comments

Comments
 (0)