Skip to content

Commit e4ccc4f

Browse files
authored
Merge pull request #250973 from k0ste/ansible_deps
ansible: added `fqdn`/`python-ldap` for ansible modules
2 parents f5e7147 + aaacb1d commit e4ccc4f

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

Formula/a/ansible.rb

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ class Ansible < Formula
66
url "https://files.pythonhosted.org/packages/98/ca/e4e29f2f222b675e2708d35b98f8e2156de080a47fcfbea6e03be9c2afe3/ansible-12.1.0.tar.gz"
77
sha256 "22dea1938d433fa515b3001cfad65cb308ef97c980f1520174d054dd38f32c83"
88
license "GPL-3.0-or-later"
9+
revision 1
910
head "https://github.com/ansible/ansible.git", branch: "devel"
1011

1112
bottle do
12-
rebuild 1
13-
sha256 cellar: :any, arm64_tahoe: "af02f920eb87e49a9abe1e42ab966486fe873dafd62e301a05126fd4a731d3f7"
14-
sha256 cellar: :any, arm64_sequoia: "f29f74c3fbdac039e15c4347ede65e42192db5b0ed3b7d6d220d1adc8fc65bbc"
15-
sha256 cellar: :any, arm64_sonoma: "fc1ce520ebcd827e126afd724a0e70344edec70516349cfd7ad850738b09c519"
16-
sha256 cellar: :any, sonoma: "b9102372813fee077c6f3fb6482164ccf5f188ad391bb9c5d2c308cc42ab7315"
17-
sha256 cellar: :any_skip_relocation, arm64_linux: "fcff18dec6ffc010122d9581dec9eead8c1e580479acd6ce29c8d54d5199cc07"
18-
sha256 cellar: :any_skip_relocation, x86_64_linux: "2eca3fe673439408d088fa6880022071c8d6cfb284e49853de3c1c6ec0c0cca2"
13+
sha256 cellar: :any, arm64_tahoe: "ab2e9694c18ca4b36b6f3b0bd78e2168820a73f938e2989d76b81827978ca39f"
14+
sha256 cellar: :any, arm64_sequoia: "4f3d3e6ddd67cba85d682f6120cb79411b8a8ab74a2b533dacdfec4bf88e6182"
15+
sha256 cellar: :any, arm64_sonoma: "ac2c4a5201afedb873536b4896a2671f23394661ff0aad8c34488d658df7d4c6"
16+
sha256 cellar: :any, sonoma: "14b740de9436e9337114b44620bed20c93f3d1a504b19fbe5149c91ae5364262"
17+
sha256 cellar: :any_skip_relocation, arm64_linux: "13668959b295ba6b4c73410632110e4b0d967f6fdfd846da200bda827bc133f8"
18+
sha256 cellar: :any_skip_relocation, x86_64_linux: "6d7dd5e518e5626b61f46df7ac88de14b2b3470163160a2f660cbe7f05d8f646"
1919
end
2020

2121
# `pkgconf` and `rust` are for bcrypt
@@ -32,6 +32,7 @@ class Ansible < Formula
3232
uses_from_macos "krb5"
3333
uses_from_macos "libxml2", since: :ventura
3434
uses_from_macos "libxslt"
35+
uses_from_macos "openldap" # for python-ldap
3536

3637
# pyinotify is linux-only dependency
3738
resource "pyinotify" do
@@ -153,6 +154,11 @@ class Ansible < Formula
153154
sha256 "6b1d3829ee8921c4301998c909f7829fa9ed3cbdac0d3b16af2d743aed1ba8df"
154155
end
155156

157+
resource "fqdn" do
158+
url "https://files.pythonhosted.org/packages/30/3e/a80a8c077fd798951169626cde3e239adeba7dab75deb3555716415bd9b0/fqdn-1.5.1.tar.gz"
159+
sha256 "105ed3677e767fb5ca086a0c1f4bb66ebc3c100be518f0e0d755d9eae164d89f"
160+
end
161+
156162
resource "jinja2" do
157163
url "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz"
158164
sha256 "0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"
@@ -418,6 +424,11 @@ class Ansible < Formula
418424
sha256 "3c6958088d18c8676a10abf9d94b8dbf1a984741cbb988554f216880797e072f"
419425
end
420426

427+
resource "python-ldap" do
428+
url "https://files.pythonhosted.org/packages/0c/88/8d2797decc42e1c1cdd926df4f005e938b0643d0d1219c08c2b5ee8ae0c0/python_ldap-3.4.5.tar.gz"
429+
sha256 "b2f6ef1c37fe2c6a5a85212efe71311ee21847766a7d45fcb711f3b270a5f79a"
430+
end
431+
421432
resource "python-string-utils" do
422433
url "https://files.pythonhosted.org/packages/10/91/8c883b83c7d039ca7e6c8f8a7e154a27fdeddd98d14c10c5ee8fe425b6c0/python-string-utils-1.0.0.tar.gz"
423434
sha256 "dcf9060b03f07647c0a603408dc8b03f807f3b54a05c6e19eb14460256fac0cb"

pypi_formula_mappings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
"exclude_packages": ["certifi", "cryptography", "gnureadline"],
2323
"extra_packages": [
2424
"ansible-pylibssh", "apache-libcloud", "bcrypt<5", "boto3", "dnspython", "docker",
25-
"junos-eznc", "jxmlease", "kerberos", "ntc-templates", "openshift",
25+
"fqdn", "junos-eznc", "jxmlease", "kerberos", "ntc-templates", "openshift",
2626
"passlib", "pexpect", "proxmoxer", "pynetbox", "pysphere3", "python-consul",
27-
"python-neutronclient", "pytz", "pywinrm", "requests-credssp", "shade", "zabbix-api"
27+
"python-ldap", "python-neutronclient", "pytz", "pywinrm", "requests-credssp",
28+
"shade", "zabbix-api"
2829
]
2930
},
3031
"ansible-builder": {

0 commit comments

Comments
 (0)