From 3a8fd54724bc5857b74691095e154121e0ff6c46 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Fri, 21 May 2021 14:48:34 -0700 Subject: [PATCH] ansible 4.0.0 Closes #77772. Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Aliases/{ansible@3 => ansible@4} | 0 Formula/ansible.rb | 69 +++++++++++++++++--------------- 2 files changed, 37 insertions(+), 32 deletions(-) rename Aliases/{ansible@3 => ansible@4} (100%) diff --git a/Aliases/ansible@3 b/Aliases/ansible@4 similarity index 100% rename from Aliases/ansible@3 rename to Aliases/ansible@4 diff --git a/Formula/ansible.rb b/Formula/ansible.rb index d7071605609..262a0f9c96d 100644 --- a/Formula/ansible.rb +++ b/Formula/ansible.rb @@ -3,8 +3,8 @@ class Ansible < Formula desc "Automate deployment, configuration, and upgrading" homepage "https://www.ansible.com/" - url "https://files.pythonhosted.org/packages/a9/f3/7e7e3647d58b266768a000b5830c7fca7c02eac4e724e9b23309b735f9b2/ansible-3.4.0.tar.gz" - sha256 "ca34e2c0c3f92cad5e528c94c133e620845feb11cc62f42e98d28271fe5bd924" + url "https://files.pythonhosted.org/packages/ff/ea/b82dfb8f0d7ddaed50c2dbfe05af9cde3230687c32ceae6ee1bd5ae048c5/ansible-4.0.0.tar.gz" + sha256 "6f67ca5c634e4721d1f8e206dc71d60d1a114d147945355bfc902bd37eb07080" license "GPL-3.0-or-later" head "https://github.com/ansible/ansible.git", branch: "devel" @@ -54,9 +54,9 @@ class Ansible < Formula # ntc-templates (Parsing semi-structured text) # Automatically updated resources - resource "ansible-base" do - url "https://files.pythonhosted.org/packages/2f/7c/36119f0695fe48fd5eeb33a78c11137642abf1f67b477f31b9772da5a85d/ansible-base-2.10.9.tar.gz" - sha256 "04635d3e08fc29358c76b8e7f1e9db0ce443fb09ce30b2acc6cacaad165f2151" + resource "ansible-core" do + url "https://files.pythonhosted.org/packages/87/c3/6444797f56d09c93359b9143be6d4f10738309e7b5e9a9686e7aaeb70f94/ansible-core-2.11.0.tar.gz" + sha256 "9470ceb710711eacd75f1bcae802af036ab2a6c2cd5a13bfcb50b2d89667c9c5" end resource "apache-libcloud" do @@ -80,13 +80,13 @@ class Ansible < Formula end resource "boto3" do - url "https://files.pythonhosted.org/packages/07/8f/26740695fa4e6fa47a6a3794f375a7d8be1626858ef6f541b9465029dee1/boto3-1.17.71.tar.gz" - sha256 "edf9b3b36e08cd575a9458bf59871852335aceb5db2d07bfc8530bae3a97d045" + url "https://files.pythonhosted.org/packages/5b/a9/3fb9677877f805bf9eedc63e76eca90a902291ceb062950b5e81c24309d2/boto3-1.17.78.tar.gz" + sha256 "2a5caee63d45fbdcc85e710c7f4146112f5d10b22fd0176643d2f2914cce54df" end resource "botocore" do - url "https://files.pythonhosted.org/packages/36/10/0aad4fae034a4b395ab67cb6943b57224c70bccebe046cb17cb9bbf94b44/botocore-1.20.71.tar.gz" - sha256 "b7afebca1fd6ca1f8af79f377a445d474e3bd2cf88e704169d6713a6362a304f" + url "https://files.pythonhosted.org/packages/3e/2c/68c8ffdbd1f4b1fa34b9dab7b44597bc8e531fbe1646a57316fe08bd068a/botocore-1.20.78.tar.gz" + sha256 "e74775f9e64e975787d76390fc5ac5aba875d726bb9ece3b7bd900205b430389" end resource "cachetools" do @@ -135,8 +135,8 @@ class Ansible < Formula end resource "decorator" do - url "https://files.pythonhosted.org/packages/a9/09/dd085a8afcf48fdaba851fe10956d5dbf1e9091206f7ca717223563f75c2/decorator-5.0.7.tar.gz" - sha256 "6f201a6c4dac3d187352661f508b9364ec8091217442c9478f1f83c003a0f060" + url "https://files.pythonhosted.org/packages/4f/51/15a4f6b8154d292e130e5e566c730d8ec6c9802563d58760666f1818ba58/decorator-5.0.9.tar.gz" + sha256 "72ecfba4320a893c53f9706bebb2d55c270c1e51a28789361aa93e4a21319ed5" end resource "dnspython" do @@ -155,8 +155,8 @@ class Ansible < Formula end resource "dogpile.cache" do - url "https://files.pythonhosted.org/packages/55/51/24484f0f713f3499da44f5b4483cf0e5b5284572980530065b97b3d41c83/dogpile.cache-1.1.2.tar.gz" - sha256 "2134464672a3deb7ef1366a8691726686d8c62540e4208f1a40c9aaa1a0b6a45" + url "https://files.pythonhosted.org/packages/99/d3/36efc44d13ec2eca3fb3aa918844a941a4d3bb6619d46d609a641c0ab3d6/dogpile.cache-1.1.3.tar.gz" + sha256 "6f0bcf97c73bfec1a7bf14e5a248488cee00c2d494bf63f3789ea6d95a57c1cf" end resource "future" do @@ -180,8 +180,8 @@ class Ansible < Formula end resource "Jinja2" do - url "https://files.pythonhosted.org/packages/7a/0c/23cbcf515b5394e9f59a3e6629f26e1142b92d474ee0725a26aa5a3bcf76/Jinja2-3.0.0.tar.gz" - sha256 "ea8d7dd814ce9df6de6a761ec7f1cac98afe305b8cdc4aaae4e114b8d8ce24c5" + url "https://files.pythonhosted.org/packages/39/11/8076571afd97303dfeb6e466f27187ca4970918d4b36d5326725514d3ed3/Jinja2-3.0.1.tar.gz" + sha256 "703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4" end resource "jmespath" do @@ -230,8 +230,8 @@ class Ansible < Formula end resource "MarkupSafe" do - url "https://files.pythonhosted.org/packages/67/6a/5b3ed5c122e20c33d2562df06faf895a6b91b0a6b96a4626440ffe1d5c8e/MarkupSafe-2.0.0.tar.gz" - sha256 "4fae0677f712ee090721d8b17f412f1cbceefbf0dc180fe91bab3232f38b4527" + url "https://files.pythonhosted.org/packages/bf/10/ff66fea6d1788c458663a84d88787bae15d45daa16f6b3ef33322a51fc7e/MarkupSafe-2.0.1.tar.gz" + sha256 "594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a" end resource "msgpack" do @@ -280,8 +280,8 @@ class Ansible < Formula end resource "openstacksdk" do - url "https://files.pythonhosted.org/packages/d2/38/33a4e7a6de6592298b883e26090925d33b16ff973d87c53c60c847fcd425/openstacksdk-0.56.0.tar.gz" - sha256 "9c7633746a5603ef059f95f33d5aa8116066204de65b572c877a8c31120ef65b" + url "https://files.pythonhosted.org/packages/cb/d7/0baa7641361328bc0b00a68f3187398e7ba6bce22c3c2f534ebf7e8cf6cd/openstacksdk-0.57.0.tar.gz" + sha256 "70302d9410badae7f88fd83c3056461f7f1033c157192f41a0134461d5e21822" end resource "os-client-config" do @@ -295,13 +295,13 @@ class Ansible < Formula end resource "osc-lib" do - url "https://files.pythonhosted.org/packages/f4/70/a92bb13b8eaf13be71e72d5137c338279eb139dddc8b146b9849f5e20259/osc-lib-2.3.1.tar.gz" - sha256 "f7d178dc6fcf5e5c069206e4fcf7206bf6369e3c855ec5b8498c7f6bb28be75e" + url "https://files.pythonhosted.org/packages/40/12/863e56934e9d89c32cbd1bf782e72f8e83efb55202bc1be13fdaab82065b/osc-lib-2.4.0.tar.gz" + sha256 "47029225c19a053a063736da390446debb5f14224dc60e92df7ca1b694625a9f" end resource "oslo.config" do - url "https://files.pythonhosted.org/packages/20/94/6eb0fbbabfbe49863e7e5333289fb5b179246506e6aed37ba8f0f9dca9d4/oslo.config-8.6.0.tar.gz" - sha256 "dadb10ea187b6282622a31be3a15bd1c45dc0bc2a4f232ec8762ae8196982f28" + url "https://files.pythonhosted.org/packages/4a/ba/3aa24fbf46084de78ccdbdf4d8cecd2cc0bb96201d9ca59b2896e3dfb1e8/oslo.config-8.7.0.tar.gz" + sha256 "5b28db6e8716feddb83fc8d97584513d7f48b54ee774c74b0c5a8d61c8d4fa73" end resource "oslo.context" do @@ -315,8 +315,8 @@ class Ansible < Formula end resource "oslo.log" do - url "https://files.pythonhosted.org/packages/e0/2b/30e41e5cef9da3aafe8a174fde3bcde5ebdec69644036302b1a75570b910/oslo.log-4.4.0.tar.gz" - sha256 "0883be3099cd9f8e17843b574018627e1d64243aabcf6cdbe1ebdd1cb5784448" + url "https://files.pythonhosted.org/packages/cc/b4/b7267bb4137ee73530d68747390fefebc395d8895b9826cd710fd95afd1a/oslo.log-4.5.0.tar.gz" + sha256 "63619fc00483f37c7ae6a6d6775d1ebb2b57e241c731f0295d1473b2c01c7278" end resource "oslo.serialization" do @@ -325,8 +325,8 @@ class Ansible < Formula end resource "oslo.utils" do - url "https://files.pythonhosted.org/packages/6e/c2/2e3800122ec247efc79ee2f4a482185926613d162bfe29d74bbba81d77b0/oslo.utils-4.8.0.tar.gz" - sha256 "193111209bed092229b75be725194a6d4f3464c2692a2ac9fb34c46cd8013edb" + url "https://files.pythonhosted.org/packages/9c/fd/aa08f637706d80548f950b008b838952acc58873c02f57fb8d7425ec47e0/oslo.utils-4.9.0.tar.gz" + sha256 "4d29cae87f0ce48ec0e1c5577787c5cd10723c614f2d5a642f42c5efdf787e9c" end resource "packaging" do @@ -484,6 +484,11 @@ class Ansible < Formula sha256 "b095cbc77618f066d459a02b137b020c37da9f46d9b057704019c9f77dba3065" end + resource "resolvelib" do + url "https://files.pythonhosted.org/packages/52/ba/3860b1bfe6b08a727deddda52287282e10303d20f01321c3666f2e602c18/resolvelib-0.5.5.tar.gz" + sha256 "123de56548c90df85137425a3f51eb93df89e2ba719aeb6a8023c032758be950" + end + resource "rfc3986" do url "https://files.pythonhosted.org/packages/79/30/5b1b6c28c105629cc12b33bdcbb0b11b5bb1880c6cfbd955f9e792921aa8/rfc3986-1.5.0.tar.gz" sha256 "270aaf10d87d0d4e095063c65bf3ddbc6ee3d0b226328ce21e036f946e421835" @@ -550,8 +555,8 @@ class Ansible < Formula end resource "websocket-client" do - url "https://files.pythonhosted.org/packages/48/bf/c706b56243f1641159ff211b51d3341024e1cdf63defc2b74595b6319039/websocket-client-0.59.0.tar.gz" - sha256 "d376bd60eace9d437ab6d7ee16f4ab4e821c9dae591e1b783c58ebd8aaf80c5c" + url "https://files.pythonhosted.org/packages/97/ab/f45394f0db306bdcdf78e7922e942117731023e31f44f4dd8bdd926c2391/websocket-client-1.0.0.tar.gz" + sha256 "5051b38a2f4c27fbd7ca077ebb23ec6965a626ded5a95637f36be1b35b6c4f81" end resource "wrapt" do @@ -603,8 +608,8 @@ class Ansible < Formula venv = virtualenv_create(libexec, "python3") # Install all of the resources declared on the formula into the virtualenv. resources.each do |r| - # ansible-base provides all ansible binaries - if r.name == "ansible-base" + # ansible-core provides all ansible binaries + if r.name == "ansible-core" venv.pip_install_and_link r else venv.pip_install r @@ -612,7 +617,7 @@ class Ansible < Formula end venv.pip_install_and_link buildpath - resource("ansible-base").stage do + resource("ansible-core").stage do man1.install Dir["docs/man/man1/*.1"] end end