diff options
| author | Mike McQuaid | 2018-03-03 18:17:04 +0000 | 
|---|---|---|
| committer | GitHub | 2018-03-03 18:17:04 +0000 | 
| commit | bc3389bdae5be31e5447802cb0eb8e1a967f5b4d (patch) | |
| tree | 2d61e66163e0fbf4650f38bb104374a32f53914c /Library/Homebrew/formula.rb | |
| parent | 5e3003688f801a49a46c1b24cb5e27d5c276af30 (diff) | |
| parent | 70253f0009ee8095a5d10ee7bdd891f1fe5cc35c (diff) | |
| download | brew-master.tar.bz2 | |
Adjust docs and more internal code for Python 3.
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 228eb537b..521c62637 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -2201,12 +2201,12 @@ class Formula      # # `build.with?` or `build.without? "another_formula"`:      # depends_on "postgresql" if build.without? "sqlite"      # +    # <pre># Python 3.x if the `--with-python` is given to `brew install example` +    # depends_on "python3" => :optional</pre>      # <pre># Python 2.7: -    # depends_on "python"</pre> +    # depends_on "python@2"</pre>      # <pre># Python 2.7 but use system Python where possible -    # depends_on "python" if MacOS.version <= :snow_leopard</pre> -    # <pre># Python 3.x if the `--with-python3` is given to `brew install example` -    # depends_on "python3" => :optional</pre> +    # depends_on "python@2" if MacOS.version <= :snow_leopard</pre>      def depends_on(dep)        specs.each { |spec| spec.depends_on(dep) }      end | 
