aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorSamuel John2013-06-06 12:31:55 +0200
committerSamuel John2013-06-06 12:33:28 +0200
commit4e8aa8637fdef1bbebdb31a11203f526d63122ca (patch)
tree2f57adb5170c3e3b45e6221545d1a24ae08e19d2 /Library/Homebrew/formula.rb
parent2fcc9bad4251340650680ff1996e6cc6862fcd2f (diff)
downloadbrew-4e8aa8637fdef1bbebdb31a11203f526d63122ca.tar.bz2
PythonInstalled: Don't require superenv
* The python do ... end block does no longer require 'superenv' but saves and restores the ENV by using ENV.to_hash and `ensure`. This should resolve some build problems with formulae using `env :std`! * `python_helper` is now in a module `Python`. * Imporoved some comments in python_dependency.rb
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index ead132bbf..cf88bd3be 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -307,7 +307,7 @@ class Formula
def python(options={:allowed_major_versions => [2, 3]}, &block)
require 'python_helper'
- python_helper(options, &block)
+ Python::python_helper(options, &block)
end
# Explicitly only execute the block for 2.x (if a python 2.x is available)