aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-29 21:50:24 -0500
committerJack Nagel2014-07-29 21:54:32 -0500
commitd455d47cadd89f2dab76761a1d1bd6a1b610d2c2 (patch)
treeac4291e292c630aa61994fe524a14d018f0807db /Library/Formula/python3.rb
parent7c66870e119ba936bdbe4eab940dd6e69968c228 (diff)
downloadhomebrew-d455d47cadd89f2dab76761a1d1bd6a1b610d2c2.tar.bz2
Limit exposure of the options data structures
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index f30972893..2bc408d77 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -26,7 +26,7 @@ class Python3 < Formula
depends_on 'openssl'
depends_on 'xz' => :recommended # for the lzma module added in 3.3
depends_on 'homebrew/dupes/tcl-tk' if build.with? 'brewed-tk'
- depends_on :x11 if build.with? 'brewed-tk' and Tab.for_name('tcl-tk').used_options.include?('with-x11')
+ depends_on :x11 if build.with? "brewed-tk" and Tab.for_name("tcl-tk").with? "x11"
skip_clean "bin/pip3", "bin/pip-#{VER}"
skip_clean "bin/easy_install3", "bin/easy_install-#{VER}"