Skip to content

Commit 1d80218

Browse files
authored
Merge pull request #251474 from Homebrew/ansible-pypi-dsl
ansible@8, ansible@9, ansible@10: migrate to `pypi_packages` DSL
2 parents 06ad386 + a9f8539 commit 1d80218

File tree

4 files changed

+17
-26
lines changed

4 files changed

+17
-26
lines changed

Formula/a/[email protected]

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ class AnsibleAT10 < Formula
4545
uses_from_macos "libxml2", since: :ventura
4646
uses_from_macos "libxslt"
4747

48+
pypi_packages exclude_packages: %w[certifi gnureadline],
49+
extra_packages: %w[ansible-pylibssh apache-libcloud bcrypt<5 boto3 dnspython docker
50+
junos-eznc jxmlease kerberos ntc-templates openshift
51+
passlib pexpect proxmoxer pynetbox pysphere3 python-consul
52+
python-neutronclient pytz pywinrm requests-credssp shade zabbix-api]
53+
4854
# pyinotify is linux-only dependency
4955
resource "pyinotify" do
5056
on_linux do

Formula/a/[email protected]

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ class AnsibleAT8 < Formula
3535
uses_from_macos "libxml2", since: :ventura
3636
uses_from_macos "libxslt"
3737

38+
pypi_packages extra_packages: %w[apache-libcloud boto3 dnspython docker
39+
junos-eznc jxmlease kerberos ntc-templates openshift
40+
passlib pexpect proxmoxer pysphere3 python-consul
41+
python-neutronclient pywinrm requests-credssp shade zabbix-api]
42+
3843
resource "ansible-core" do
3944
url "https://files.pythonhosted.org/packages/a1/fc/e81a2e2a6e4247444fe632c8ffaff5c1bcc3adf85ae87d08158724f419fd/ansible_core-2.15.12.tar.gz"
4045
sha256 "5fde82cd3928d9857ad880782c644f27d3168b0f25321d5a8d6befa524aa1818"

Formula/a/[email protected]

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ class AnsibleAT9 < Formula
3636
uses_from_macos "libxml2", since: :ventura
3737
uses_from_macos "libxslt"
3838

39+
pypi_packages exclude_packages: %w[certifi gnureadline],
40+
extra_packages: %w[ansible-pylibssh apache-libcloud boto3 dnspython docker
41+
junos-eznc jxmlease kerberos ntc-templates openshift
42+
passlib pexpect proxmoxer pynetbox pysphere3 python-consul
43+
python-neutronclient pytz pywinrm requests-credssp shade zabbix-api]
44+
3945
# pyinotify is linux-only dependency
4046
resource "pyinotify" do
4147
on_linux do

pypi_formula_mappings.json

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,4 @@
11
{
2-
"ansible@8": {
3-
"extra_packages": [
4-
"apache-libcloud", "boto3", "dnspython", "docker",
5-
"junos-eznc", "jxmlease", "kerberos", "ntc-templates", "openshift",
6-
"passlib", "pexpect", "proxmoxer", "pysphere3", "python-consul",
7-
"python-neutronclient", "pywinrm", "requests-credssp", "shade", "zabbix-api"
8-
]
9-
},
10-
"ansible@9": {
11-
"exclude_packages": ["certifi", "gnureadline"],
12-
"extra_packages": [
13-
"ansible-pylibssh", "apache-libcloud", "boto3", "dnspython", "docker",
14-
"junos-eznc", "jxmlease", "kerberos", "ntc-templates", "openshift",
15-
"passlib", "pexpect", "proxmoxer", "pynetbox", "pysphere3", "python-consul",
16-
"python-neutronclient", "pytz", "pywinrm", "requests-credssp", "shade", "zabbix-api"
17-
]
18-
},
19-
"ansible@10": {
20-
"exclude_packages": ["certifi", "gnureadline"],
21-
"extra_packages": [
22-
"ansible-pylibssh", "apache-libcloud", "bcrypt<5", "boto3", "dnspython", "docker",
23-
"junos-eznc", "jxmlease", "kerberos", "ntc-templates", "openshift",
24-
"passlib", "pexpect", "proxmoxer", "pynetbox", "pysphere3", "python-consul",
25-
"python-neutronclient", "pytz", "pywinrm", "requests-credssp", "shade", "zabbix-api"
26-
]
27-
},
282
"harlequin": {
293
"package_name": "harlequin[mysql,odbc,postgres]",
304
"exclude_packages": ["numpy", "psycopg-binary", "tree-sitter-languages"],

0 commit comments

Comments
 (0)