Skip to content

Commit

Permalink
bazarr 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot authored and daeho-ro committed Dec 25, 2024
1 parent c1ea0a2 commit bc9a8f8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Formula/b/bazarr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ class Bazarr < Formula

desc "Companion to Sonarr and Radarr for managing and downloading subtitles"
homepage "https://www.bazarr.media"
url "https://github.com/morpheus65535/bazarr/releases/download/v1.4.3/bazarr.zip"
sha256 "b664dd9947d1051941d788ee371528eb945efbd6a05015f40414ae36ede9482d"
url "https://github.com/morpheus65535/bazarr/releases/download/v1.5.0/bazarr.zip"
sha256 "0b85e92622b8bd53ad0478b872a36c181bda0b28ab1d01a7d2473ddbfebba748"
license "GPL-3.0-or-later"
head "https://github.com/morpheus65535/bazarr.git", branch: "master"

Expand Down Expand Up @@ -38,13 +38,13 @@ class Bazarr < Formula
end

resource "setuptools" do
url "https://files.pythonhosted.org/packages/5e/11/487b18cc768e2ae25a919f230417983c8d5afa1b6ee0abd8b6db0b89fa1d/setuptools-72.1.0.tar.gz"
sha256 "8d243eff56d095e5817f796ede6ae32941278f542e0f941867cc05ae52b162ec"
url "https://files.pythonhosted.org/packages/43/54/292f26c208734e9a7f067aea4a7e282c080750c4546559b58e2e45413ca0/setuptools-75.6.0.tar.gz"
sha256 "8199222558df7c86216af4f84c30e9b34a61d8ba19366cc914424cdbd28252f6"
end

resource "webrtcvad-wheels" do
url "https://files.pythonhosted.org/packages/59/d9/17fe64f981a2d33c6e95e115c29e8b6bd036c2a0f90323585f1af639d5fc/webrtcvad-wheels-2.0.11.post1.tar.gz"
sha256 "aa1f749b5ea5ce209df9bdef7be9f4844007e630ac87ab9dbc25dda73fd5d2b7"
url "https://files.pythonhosted.org/packages/28/ba/3a8ce2cff3eee72a39ed190e5f9dac792da1526909c97a11589590b21739/webrtcvad_wheels-2.0.14.tar.gz"
sha256 "5f59c8e291c6ef102d9f39532982fbf26a52ce2de6328382e2654b0960fea397"
end

def install
Expand Down Expand Up @@ -117,11 +117,11 @@ def post_install

port = free_port

Open3.popen3(bin/"bazarr", "--no-update", "--config", testpath, "-p", port.to_s) do |_, _, stderr, wait_thr|
Open3.popen3(bin/"bazarr", "--no-update", "--config", testpath, "--port", port.to_s) do |_, _, stderr, wait_thr|
Timeout.timeout(45) do
stderr.each do |line|
refute_match "ERROR", line unless line.match? "Error trying to get releases from Github"
break if line.include? "BAZARR is started and waiting for request on http://0.0.0.0:#{port}"
break if line.include? "BAZARR is started and waiting for requests on: http://0.0.0.0:#{port}"
end
assert_match "<title>Bazarr</title>", shell_output("curl --silent http://localhost:#{port}")
end
Expand Down

0 comments on commit bc9a8f8

Please sign in to comment.