Skip to content

Commit a9f8539

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

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
@@ -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

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@10": {
3-
"exclude_packages": ["certifi", "gnureadline"],
4-
"extra_packages": [
5-
"ansible-pylibssh", "apache-libcloud", "bcrypt<5", "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
"harlequin": {
123
"package_name": "harlequin[mysql,odbc,postgres]",
134
"exclude_packages": ["numpy", "psycopg-binary", "tree-sitter-languages"],

0 commit comments

Comments
 (0)