Skip to content

Commit b59c012

Browse files
committed
ansible: added deps for ansible modules
* fqdn for `community.general.fqdn_valid` * python-ldap for `community.general.ldap_search` Signed-off-by: Konstantin Shalygin <[email protected]>
1 parent 6e0ac50 commit b59c012

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

Formula/a/ansible.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ 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
@@ -32,6 +33,7 @@ class Ansible < Formula
3233
uses_from_macos "krb5"
3334
uses_from_macos "libxml2", since: :ventura
3435
uses_from_macos "libxslt"
36+
uses_from_macos "openldap" # for python-ldap
3537

3638
# pyinotify is linux-only dependency
3739
resource "pyinotify" do
@@ -153,6 +155,11 @@ class Ansible < Formula
153155
sha256 "6b1d3829ee8921c4301998c909f7829fa9ed3cbdac0d3b16af2d743aed1ba8df"
154156
end
155157

158+
resource "fqdn" do
159+
url "https://files.pythonhosted.org/packages/30/3e/a80a8c077fd798951169626cde3e239adeba7dab75deb3555716415bd9b0/fqdn-1.5.1.tar.gz"
160+
sha256 "105ed3677e767fb5ca086a0c1f4bb66ebc3c100be518f0e0d755d9eae164d89f"
161+
end
162+
156163
resource "jinja2" do
157164
url "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz"
158165
sha256 "0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"
@@ -418,6 +425,11 @@ class Ansible < Formula
418425
sha256 "3c6958088d18c8676a10abf9d94b8dbf1a984741cbb988554f216880797e072f"
419426
end
420427

428+
resource "python-ldap" do
429+
url "https://files.pythonhosted.org/packages/0c/88/8d2797decc42e1c1cdd926df4f005e938b0643d0d1219c08c2b5ee8ae0c0/python_ldap-3.4.5.tar.gz"
430+
sha256 "b2f6ef1c37fe2c6a5a85212efe71311ee21847766a7d45fcb711f3b270a5f79a"
431+
end
432+
421433
resource "python-string-utils" do
422434
url "https://files.pythonhosted.org/packages/10/91/8c883b83c7d039ca7e6c8f8a7e154a27fdeddd98d14c10c5ee8fe425b6c0/python-string-utils-1.0.0.tar.gz"
423435
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-lint": {

0 commit comments

Comments
 (0)