File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,13 @@ class SpeedtestCli < Formula
66 url "https://github.com/sivel/speedtest-cli/archive/refs/tags/v2.1.3.tar.gz"
77 sha256 "45e3ca21c3ce3c339646100de18db8a26a27d240c29f1c9e07b6c13995a969be"
88 license "Apache-2.0"
9- revision 1
9+ revision 2
1010 head "https://github.com/sivel/speedtest-cli.git" , branch : "master"
1111
1212 no_autobump! because : :requires_manual_review
1313
1414 bottle do
15- rebuild 4
16- sha256 cellar : :any_skip_relocation , all : "6add96ed8b9a4a517bbbe21659fb0068c4d6b11da84d858524d221eee60d8448"
15+ sha256 cellar : :any_skip_relocation , all : "77a4dc453d1e58aee76c4145eb1e917d7514762cfd76d6014454e4f37b40fec3"
1716 end
1817
1918 depends_on "python@3.13"
@@ -24,6 +23,15 @@ class SpeedtestCli < Formula
2423 sha256 "d0456eb9fded20fb1580dbc6e3bc451a10c3fbcd3441efea66035aa848440c09"
2524 end
2625
26+ # Replace deprecated `datetime.datetime.utcnow()` function with supported
27+ # `datetime.datetime.now(datetime.UTC)`
28+ #
29+ # https://github.com/sivel/speedtest-cli/pull/808
30+ patch do
31+ url "https://github.com/sivel/speedtest-cli/commit/305dce9bd28e797d32b6b7e4a9239a669ab35322.patch?full_index=1"
32+ sha256 "468f7205cedcef51eb95eb565db56d08743c5663b1641be62d9d1247d0845f3b"
33+ end
34+
2735 def install
2836 rewrite_shebang detected_python_shebang , "speedtest.py"
2937 bin . install "speedtest.py" => "speedtest"
You can’t perform that action at this time.
0 commit comments