/
gandi.cli.rb
76 lines (62 loc) 路 3.54 KB
/
gandi.cli.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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/cf/00/ff5acd1c9a0cfbb1a81a9f44ef4a745f31bb413869ae93295f8f5778cc4c/gandi.cli-1.6.tar.gz"
sha256 "af59bf81a5a434dd3a5bc728a9475d80491ed73ce4343f2c1f479cbba09266c0"
license "GPL-3.0-or-later"
revision 2
bottle do
rebuild 2
sha256 cellar: :any_skip_relocation, arm64_sonoma: "58fbb27b4b9ed77d000318732a53cd533e9fd75345dfbad67da9ba915c8b621e"
sha256 cellar: :any_skip_relocation, arm64_ventura: "6dc5106148e17ea54d7742bf9117e2acf471240886ae43baf19fe652b411bd70"
sha256 cellar: :any_skip_relocation, arm64_monterey: "c1cf8ebdf3314c573a443dd2e3031358337424d22ecb0dece308f3f22e7846dd"
sha256 cellar: :any_skip_relocation, sonoma: "d9258ae6525b869d4d9bfe89d33a3d4c33dba43ab5e246e641c43d6cc52039b4"
sha256 cellar: :any_skip_relocation, ventura: "df0972b59a2d814a777333ebfcf5ecdf75d391a1deee303da14a533a01f974ae"
sha256 cellar: :any_skip_relocation, monterey: "dd991fc9d5c837a13101b60fffe30e5a3b6a9e2c9681408db11143aa5b56f7b4"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e73abdfe8089c1e7c7503783e211d2ea1866d3cb73ae4cf368d6b43d9d77b5bf"
end
# https://github.com/Gandi/gandi.cli#gandi-cli
disable! date: "2023-10-17", because: :deprecated_upstream
depends_on "libyaml"
depends_on "python-setuptools"
depends_on "python@3.12"
resource "certifi" do
url "https://files.pythonhosted.org/packages/98/98/c2ff18671db109c9f10ed27f5ef610ae05b73bd876664139cf95bd1429aa/certifi-2023.7.22.tar.gz"
sha256 "539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"
end
resource "charset-normalizer" do
url "https://files.pythonhosted.org/packages/cf/ac/e89b2f2f75f51e9859979b56d2ec162f7f893221975d244d8d5277aa9489/charset-normalizer-3.3.0.tar.gz"
sha256 "63563193aec44bce707e0c5ca64ff69fa72ed7cf34ce6e11d5127555756fd2f6"
end
resource "click" do
url "https://files.pythonhosted.org/packages/96/d3/f04c7bfcf5c1862a2a5b845c6b2b360488cf47af55dfa79c98f6a6bf98b5/click-8.1.7.tar.gz"
sha256 "ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"
end
resource "idna" do
url "https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz"
sha256 "814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"
end
resource "ipy" do
url "https://files.pythonhosted.org/packages/64/a4/9c0d88d95666ff1571d7baec6c5e26abc08051801feb6e6ddf40f6027e22/IPy-1.01.tar.gz"
sha256 "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a"
end
resource "pyyaml" do
url "https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz"
sha256 "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
end
resource "requests" do
url "https://files.pythonhosted.org/packages/9d/be/10918a2eac4ae9f02f6cfe6414b7a155ccd8f7f9d4380d62fd5b955065c3/requests-2.31.0.tar.gz"
sha256 "942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"
end
resource "urllib3" do
url "https://files.pythonhosted.org/packages/8b/00/db794bb94bf09cadb4ecd031c4295dd4e3536db4da958e20331d95f1edb7/urllib3-2.0.6.tar.gz"
sha256 "b19e1a85d206b56d7df1d5e683df4a7725252a964e3993648dd0fb5a1c157564"
end
def install
virtualenv_install_with_resources
end
test do
system "#{bin}/gandi", "--version"
end
end