homebrew-core/Formula/gandi.cli.rb
2018-10-26 14:31:05 +10:00

65 lines
2.7 KiB
Ruby

class GandiCli < Formula
include Language::Python::Virtualenv
desc "Command-line interface to Gandi.net products using the public API"
homepage "https://cli.gandi.net/"
url "https://files.pythonhosted.org/packages/b6/62/2c40c1f3dd9507cf3bc8e5b0c97ec8db268934c9b95d7a49ca0de99d8431/gandi.cli-1.3.tar.gz"
sha256 "2d785ae006a07fd0e470c2c83a27068c7c39492dee62ee8c9b72f9ad029fdf6d"
bottle do
cellar :any_skip_relocation
sha256 "3b5f4ceb40567cdfec65f4cb9244fee45ef513d7b0636981839214cf5b42dbe3" => :mojave
sha256 "3054aabbb2f8f4e960154172d141f77e59abec247656f3f24af5fc1ea1c05e05" => :high_sierra
sha256 "bf67fbd3ba4501f2d948953e5b5e69d442c97f3c5757a782e6e32d47556f4d03" => :sierra
end
depends_on "python"
resource "certifi" do
url "https://files.pythonhosted.org/packages/41/b6/4f0cefba47656583217acd6cd797bc2db1fede0d53090fdc28ad2c8e0716/certifi-2018.10.15.tar.gz"
sha256 "6d58c986d22b038c8c0df30d639f23a3e6d172a05c3583e766f4c0b785c0986a"
end
resource "chardet" do
url "https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz"
sha256 "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
end
resource "click" do
url "https://files.pythonhosted.org/packages/f8/5c/f60e9d8a1e77005f664b76ff8aeaee5bc05d0a91798afd7f53fc998dbc47/Click-7.0.tar.gz"
sha256 "5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7"
end
resource "idna" do
url "https://files.pythonhosted.org/packages/65/c4/80f97e9c9628f3cac9b98bfca0402ede54e0563b56482e3e6e45c43c4935/idna-2.7.tar.gz"
sha256 "684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16"
end
resource "IPy" do
url "https://files.pythonhosted.org/packages/88/28/79162bfc351a3f1ab44d663ab3f03fb495806fdb592170990a1568ffbf63/IPy-0.83.tar.gz"
sha256 "61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8"
end
resource "PyYAML" do
url "https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz"
sha256 "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf"
end
resource "requests" do
url "https://files.pythonhosted.org/packages/97/10/92d25b93e9c266c94b76a5548f020f3f1dd0eb40649cb1993532c0af8f4c/requests-2.20.0.tar.gz"
sha256 "99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c"
end
resource "urllib3" do
url "https://files.pythonhosted.org/packages/a5/74/05ffd00b4b5c08306939c485869f5dc40cbc27357195b0a98b18e4c48893/urllib3-1.24.tar.gz"
sha256 "41c3db2fc01e5b907288010dec72f9d0a74e37d6994e6eb56849f59fea2265ae"
end
def install
virtualenv_install_with_resources
end
test do
system "#{bin}/gandi", "--version"
end
end