ansible: fix python@3.8 warnings
Closes #49083. Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>master
parent
8b84e893e2
commit
539a8ad996
|
@ -5,6 +5,7 @@ class Ansible < Formula
|
|||
homepage "https://www.ansible.com/"
|
||||
url "https://releases.ansible.com/ansible/ansible-2.9.4.tar.gz"
|
||||
sha256 "2517bf4743d52f00d509396a41e9ce44e5bc1285bd7aa53dfe28ea02fc1a75a6"
|
||||
revision 1
|
||||
head "https://github.com/ansible/ansible.git", :branch => "devel"
|
||||
|
||||
bottle do
|
||||
|
@ -428,6 +429,12 @@ class Ansible < Formula
|
|||
resource "pycrypto" do
|
||||
url "https://files.pythonhosted.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz"
|
||||
sha256 "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
|
||||
|
||||
# Fix warnings "SyntaxWarning: "is" with a literal. Did you mean "=="?" for python 3.8
|
||||
patch do
|
||||
url "https://github.com/dlitz/pycrypto/commit/4e4cc0beefbb316db2a8750e747e697df0b754d7.patch?full_index=1"
|
||||
sha256 "f82fedee6cf73c868b55af3ab2b7d2d029b84960be0dc3baf85bb4bf541e1451"
|
||||
end
|
||||
end
|
||||
|
||||
resource "pyparsing" do
|
||||
|
|
Loading…
Reference in New Issue