molecule 2.20.1
Closes #40713. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
ba5a7af94f
commit
cfc3564610
1 changed files with 37 additions and 8 deletions
|
@ -3,9 +3,8 @@ class Molecule < Formula
|
|||
|
||||
desc "Automated testing for Ansible roles"
|
||||
homepage "https://molecule.readthedocs.io"
|
||||
url "https://files.pythonhosted.org/packages/aa/0f/dc6393eed9588e477a23488fbd23efd40246fcc64815179db6c8c892f554/molecule-1.25.1.tar.gz"
|
||||
sha256 "aeafd3a6c5a0de707308006dcf727883c9daf4446d18d9e68eb97659c51ebbb0"
|
||||
revision 3
|
||||
url "https://files.pythonhosted.org/packages/8d/51/a691f91a829e0be54c8d898ece232c723936faa408496e8ac87f32846bea/molecule-2.20.1.tar.gz"
|
||||
sha256 "621797c54299775f284bbb010d5bb9be485500eecaaa14a476cbc0df285d0da7"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -34,8 +33,8 @@ class Molecule < Formula
|
|||
end
|
||||
|
||||
resource "anyconfig" do
|
||||
url "https://files.pythonhosted.org/packages/1a/c4/4aeb05181b0c9ab9f3bb0846dec5cccfa392dc3c593593bc2642749c1897/anyconfig-0.7.0.tar.gz"
|
||||
sha256 "b972257f81770c0f535917cd8a61a74542180d3a86290b30155e0912cc7a3558"
|
||||
url "https://files.pythonhosted.org/packages/20/48/f6db52d5ca39904a53dbbd7a8fc45757a24ba387249c247c524b3847c4e6/anyconfig-0.9.9.tar.gz"
|
||||
sha256 "621b0b5f08efd2e375596b50f79943200d90f0397fed55cf0d2f5f484e005e9d"
|
||||
end
|
||||
|
||||
resource "arrow" do
|
||||
|
@ -58,6 +57,11 @@ class Molecule < Formula
|
|||
sha256 "359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061"
|
||||
end
|
||||
|
||||
resource "cerberus" do
|
||||
url "https://files.pythonhosted.org/packages/c9/0e/f78e23b778c2234972d364d0f8bea2de0a09f450f65d3f05ce091dd0f104/Cerberus-1.3.1.tar.gz"
|
||||
sha256 "0be48fc0dc84f83202a5309c0aa17cd5393e70731a1698a50d118b762fbe6875"
|
||||
end
|
||||
|
||||
resource "certifi" do
|
||||
url "https://files.pythonhosted.org/packages/20/d0/3f7a84b0c5b89e94abbd073a5f00c7176089f526edb056686751d5064cbd/certifi-2017.7.27.1.tar.gz"
|
||||
sha256 "40523d2efb60523e113b44602298f0960e900388cf3bb6043f645cf57ea9e3f5"
|
||||
|
@ -78,6 +82,11 @@ class Molecule < Formula
|
|||
sha256 "f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b"
|
||||
end
|
||||
|
||||
resource "click_completion" do
|
||||
url "https://files.pythonhosted.org/packages/77/fd/2d7ec2b86cd4d487abf0b13dce58e98413096c45b9645470be0cb8de6ff2/click-completion-0.5.1.tar.gz"
|
||||
sha256 "78072eecd5e25ea0d25ceaf99cd5f22aa2667d67231ae0819deab9b1ff3456fb"
|
||||
end
|
||||
|
||||
resource "colorama" do
|
||||
url "https://files.pythonhosted.org/packages/f0/d0/21c6449df0ca9da74859edc40208b3a57df9aca7323118c913e58d442030/colorama-0.3.7.tar.gz"
|
||||
sha256 "e043c8d32527607223652021ff648fbb394d5e19cba9f1a698670b338c9d782b"
|
||||
|
@ -213,6 +222,11 @@ class Molecule < Formula
|
|||
sha256 "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca"
|
||||
end
|
||||
|
||||
resource "python-gilt/" do
|
||||
url "https://files.pythonhosted.org/packages/01/18/01d7e1c159db5094ab04140ec66a4003db3622d843845dd706662b73f352/python-gilt-1.2.1.tar.gz"
|
||||
sha256 "e23a45a6905e6bb7aec3ff7652b48309933a6991fad4546d9e793ac7e0513f8a"
|
||||
end
|
||||
|
||||
resource "python-vagrant" do
|
||||
url "https://files.pythonhosted.org/packages/bb/c6/0a6d22ae1782f261fc4274ea9385b85bf792129d7126575ec2a71d8aea18/python-vagrant-0.5.15.tar.gz"
|
||||
sha256 "af9a8a9802d382d45dbea96aa3cfbe77c6e6ad65b3fe7b7c799d41ab988179c6"
|
||||
|
@ -233,6 +247,11 @@ class Molecule < Formula
|
|||
sha256 "979928ca113cade663bb1a0ff710e3eb9147596cf28a7ee4c04f9d85804f7b9f"
|
||||
end
|
||||
|
||||
resource "shellingham" do
|
||||
url "https://files.pythonhosted.org/packages/1b/82/52b4facd501d1cdfee1f2b3aa6092dc0ee6c07baf78692f9035adb1357da/shellingham-1.3.1.tar.gz"
|
||||
sha256 "985b23bbd1feae47ca6a6365eacd314d93d95a8a16f8f346945074c28fe6f3e0"
|
||||
end
|
||||
|
||||
resource "six" do
|
||||
url "https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz"
|
||||
sha256 "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9"
|
||||
|
@ -248,6 +267,11 @@ class Molecule < Formula
|
|||
sha256 "a68a0ce06e2d480da8d6aa3d85325e9eee1419a401053166a036d1f331f944af"
|
||||
end
|
||||
|
||||
resource "tree-format" do
|
||||
url "https://files.pythonhosted.org/packages/0d/91/8d860c75c3e70e6bbec7b898b5f753bf5da404be9296e245034360759645/tree-format-0.1.2.tar.gz"
|
||||
sha256 "a538523aa78ae7a4b10003b04f3e1b37708e0e089d99c9d3b9e1c71384c9a7f9"
|
||||
end
|
||||
|
||||
resource "urllib3" do
|
||||
url "https://files.pythonhosted.org/packages/ee/11/7c59620aceedcc1ef65e156cc5ce5a24ef87be4107c2b74458464e437a5d/urllib3-1.22.tar.gz"
|
||||
sha256 "cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f"
|
||||
|
@ -263,6 +287,11 @@ class Molecule < Formula
|
|||
sha256 "9e0d51c9387cb7e9f28b7edb549e6a03da758f7784f991eb4397d7f7808c57fd"
|
||||
end
|
||||
|
||||
resource "yamllint" do
|
||||
url "https://files.pythonhosted.org/packages/47/79/5abf604a4ad4b74c12a4f47d1ef166a6702a4d86cb6dccc07d5996969dfb/yamllint-1.15.0.tar.gz"
|
||||
sha256 "8f25759997acb42e52b96bf3af0b4b942e6516b51198bebd3402640102006af7"
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.prepend_path "PATH", Formula["python@2"].opt_libexec/"bin"
|
||||
virtualenv_install_with_resources
|
||||
|
@ -270,9 +299,9 @@ class Molecule < Formula
|
|||
|
||||
test do
|
||||
# Test the Vagrant driver
|
||||
system bin/"molecule", "init", "--role", "foo-vagrant", "--driver", "vagrant", "--verifier", "testinfra"
|
||||
assert_predicate testpath/"foo-vagrant/molecule.yml", :exist?, "Failed to create 'foo-vagrant/molecule.yml' file!"
|
||||
assert_predicate testpath/"foo-vagrant/tests/test_default.py", :exist?, "Failed to create 'foo-vagrant/tests/test_default.py' file!"
|
||||
system bin/"molecule", "init", "role", "--role-name", "foo-vagrant", "--driver-name", "vagrant", "--verifier-name", "testinfra"
|
||||
assert_predicate testpath/"foo-vagrant/molecule/default/molecule.yml", :exist?, "Failed to create 'foo-vagrant/molecule/default/molecule.yml' file!"
|
||||
assert_predicate testpath/"foo-vagrant/molecule/default/tests/test_default.py", :exist?, "Failed to create 'foo-vagrant/molecule/default/tests/test_default.py' file!"
|
||||
cd "foo-vagrant" do
|
||||
system bin/"molecule", "list"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue