vim: make --with-python@2 hide the python dependency (#24790)

This saves users a cumbersome --with-python@2 --without-python, which
has no additional meaning beyond just --with-python@2 since vim doesn't
support building with both Python 2 and Python 3 support simultaneously.
This commit is contained in:
ilovezfs 2018-03-03 02:58:26 -08:00 committed by GitHub
parent 8c82b30f54
commit a06ba00e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ class Vim < Formula
depends_on "perl"
depends_on "ruby"
depends_on "python" => :recommended
depends_on "python" => :recommended if build.without? "python@2"
depends_on "gettext" => :optional
depends_on "lua" => :optional
depends_on "luajit" => :optional