diff --git a/Formula/woof.rb b/Formula/woof.rb index 53359024da93f..f3f95ea3d8651 100644 --- a/Formula/woof.rb +++ b/Formula/woof.rb @@ -1,16 +1,21 @@ class Woof < Formula + include Language::Python::Shebang + desc "Ad-hoc single-file webserver" homepage "http://www.home.unix-ag.org/simon/woof.html" - url "http://www.home.unix-ag.org/simon/woof-2012-05-31.py" - version "20120531" - sha256 "d84353d07f768321a1921a67193510bf292cf0213295e8c7689176f32e945572" + url "https://github.com/simon-budig/woof/archive/woof-20220202.tar.gz" + sha256 "cf29214aca196a1778e2f5df1f5cc653da9bee8fc2b19f01439c750c41ae83c1" + license "GPL-2.0-or-later" bottle do sha256 cellar: :any_skip_relocation, all: "854310e14cd958d44e42c8b6dd5aac3ca360ae2154763a0967cfbe4dee76a512" end + depends_on "python@3.10" + def install - bin.install "woof-2012-05-31.py" => "woof" + rewrite_shebang detected_python_shebang, "woof" + bin.install "woof" end test do