-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Branch Vincent <[email protected]>
- Loading branch information
1 parent
de38db6
commit 273c1f6
Showing
1 changed file
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 "[email protected]" | ||
|
||
def install | ||
bin.install "woof-2012-05-31.py" => "woof" | ||
rewrite_shebang detected_python_shebang, "woof" | ||
bin.install "woof" | ||
end | ||
|
||
test do | ||
|