-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update byrdocs-cli formula to version 0.5.3
- Loading branch information
1 parent
84fe326
commit 13d0b1a
Showing
1 changed file
with
7 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,12 +1,14 @@ | ||
class ByrdocsCli < Formula | ||
include Language::Python::Virtualenv | ||
|
||
desc "Shiny new formula" | ||
desc "Command-line tool for uploading files to byrdocs.org" | ||
homepage "https://github.com/byrdocs/byrdocs-cli" | ||
license "MIT" | ||
|
||
url "https://files.pythonhosted.org/packages/66/37/429a8f524b9e23ed21cbef32fe7d6f20e4a24fdec22b4b2df8de473d2a70/byrdocs_cli-0.5.3.tar.gz" | ||
sha256 "7413f94f900db6a37ecd400376472c3622dad07fcbd2c2585446685dafa877d9" | ||
|
||
depends_on "python3" | ||
depends_on "[email protected]" | ||
|
||
resource "argcomplete" do | ||
url "https://files.pythonhosted.org/packages/5f/39/27605e133e7f4bb0c8e48c9a6b87101515e3446003e0442761f6a02ac35e/argcomplete-3.5.1.tar.gz" | ||
|
@@ -109,11 +111,12 @@ class ByrdocsCli < Formula | |
end | ||
|
||
def install | ||
virtualenv_create(libexec, "python3") | ||
virtualenv_create(libexec, "python3.10") | ||
virtualenv_install_with_resources | ||
end | ||
|
||
test do | ||
false | ||
expect = "usage: byrdocs [-h] [--token TOKEN] [--manually] [command] [file]" | ||
assert_match expect, pipe_output("#{bin}/byrdocs --help 2>&1") | ||
end | ||
end |