Skip to content

Commit

Permalink
Merge pull request #155315 from iMichka/youtube-dl
Browse files Browse the repository at this point in the history
youtube-dl: deprecate
  • Loading branch information
BrewTestBot authored Dec 3, 2023
2 parents 94fde20 + 373280f commit 556b8ea
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Formula/y/youtube-dl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ class YoutubeDl < Formula
depends_on "pandoc" => :build
end

# https://github.com/ytdl-org/youtube-dl/issues/31585
# https://github.com/ytdl-org/youtube-dl/issues/31067
deprecate! date: "2023-11-23", because: "has a failing test since forever and no new release since 2021"

depends_on "python@3.12"

def install
Expand All @@ -53,6 +57,15 @@ def install
end
end

def caveats
<<~EOS
The current youtube-dl version has many unresolved issues.
Upstream have not tagged a new release since 2021.
Please use yt-dlp instead.
EOS
end

test do
# commit history of homebrew-core repo
system "#{bin}/youtube-dl", "--simulate", "https://www.youtube.com/watch?v=pOtd1cbOP7k"
Expand Down

0 comments on commit 556b8ea

Please sign in to comment.