Skip to content

Commit 4d358ff

Browse files
committed
ansible@9: migrate to pypi_packages DSL
Signed-off-by: Rui Chen <[email protected]>
1 parent 7644ce6 commit 4d358ff

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

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 & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
{
2-
"ansible@9": {
3-
"exclude_packages": ["certifi", "gnureadline"],
4-
"extra_packages": [
5-
"ansible-pylibssh", "apache-libcloud", "boto3", "dnspython", "docker",
6-
"junos-eznc", "jxmlease", "kerberos", "ntc-templates", "openshift",
7-
"passlib", "pexpect", "proxmoxer", "pynetbox", "pysphere3", "python-consul",
8-
"python-neutronclient", "pytz", "pywinrm", "requests-credssp", "shade", "zabbix-api"
9-
]
10-
},
112
"ansible@10": {
123
"exclude_packages": ["certifi", "gnureadline"],
134
"extra_packages": [

0 commit comments

Comments
 (0)