molecule: use system Python 2

as we will delete the python@2 formula at the end of the year.

Closes #48409.

Signed-off-by: Michka Popoff <michkapopoff@gmail.com>
This commit is contained in:
Michka Popoff 2019-12-30 23:39:37 +01:00
parent a6655fe26e
commit bd45397401

View file

@ -5,7 +5,7 @@ class Molecule < Formula
homepage "https://molecule.readthedocs.io" homepage "https://molecule.readthedocs.io"
url "https://files.pythonhosted.org/packages/8d/51/a691f91a829e0be54c8d898ece232c723936faa408496e8ac87f32846bea/molecule-2.20.1.tar.gz" url "https://files.pythonhosted.org/packages/8d/51/a691f91a829e0be54c8d898ece232c723936faa408496e8ac87f32846bea/molecule-2.20.1.tar.gz"
sha256 "621797c54299775f284bbb010d5bb9be485500eecaaa14a476cbc0df285d0da7" sha256 "621797c54299775f284bbb010d5bb9be485500eecaaa14a476cbc0df285d0da7"
revision 1 revision 2
bottle do bottle do
cellar :any cellar :any
@ -16,7 +16,7 @@ class Molecule < Formula
end end
depends_on "openssl@1.1" depends_on "openssl@1.1"
depends_on "python@2" uses_from_macos "python@2" # Does not support Python 3
# Collect requirements from: # Collect requirements from:
# molecule # molecule
@ -294,7 +294,6 @@ class Molecule < Formula
end end
def install def install
ENV.prepend_path "PATH", Formula["python@2"].opt_libexec/"bin"
virtualenv_install_with_resources virtualenv_install_with_resources
end end