aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2014-01-23 10:04:15 -0800
committerMisty De Meo2014-01-26 10:55:49 -0800
commitee76cf75aff0aa9f55927b60be1a3c7220332cf0 (patch)
treeb36f9ca52c38750461b5381fcb8908575f8d67bb
parent5de3686cd2e041dae893f9e84d74c925cb6c85f5 (diff)
downloadbrew-ee76cf75aff0aa9f55927b60be1a3c7220332cf0.tar.bz2
Add python superenv wrapper
Closes Homebrew/homebrew#26140. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
-rwxr-xr-xLibrary/ENV/4.3/python4
l---------Library/ENV/4.3/python-config1
l---------Library/ENV/4.3/python2.6-config1
l---------Library/ENV/4.3/python2.7-config1
l---------Library/ENV/4.3/python31
l---------Library/ENV/4.3/python3.3-config1
-rw-r--r--Library/Homebrew/extend/ENV/super.rb1
7 files changed, 10 insertions, 0 deletions
diff --git a/Library/ENV/4.3/python b/Library/ENV/4.3/python
new file mode 100755
index 000000000..c1eb2800b
--- /dev/null
+++ b/Library/ENV/4.3/python
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export PATH=$USER_PATH
+exec $(basename $0) $@
diff --git a/Library/ENV/4.3/python-config b/Library/ENV/4.3/python-config
new file mode 120000
index 000000000..d8654aa0e
--- /dev/null
+++ b/Library/ENV/4.3/python-config
@@ -0,0 +1 @@
+python \ No newline at end of file
diff --git a/Library/ENV/4.3/python2.6-config b/Library/ENV/4.3/python2.6-config
new file mode 120000
index 000000000..d8654aa0e
--- /dev/null
+++ b/Library/ENV/4.3/python2.6-config
@@ -0,0 +1 @@
+python \ No newline at end of file
diff --git a/Library/ENV/4.3/python2.7-config b/Library/ENV/4.3/python2.7-config
new file mode 120000
index 000000000..d8654aa0e
--- /dev/null
+++ b/Library/ENV/4.3/python2.7-config
@@ -0,0 +1 @@
+python \ No newline at end of file
diff --git a/Library/ENV/4.3/python3 b/Library/ENV/4.3/python3
new file mode 120000
index 000000000..d8654aa0e
--- /dev/null
+++ b/Library/ENV/4.3/python3
@@ -0,0 +1 @@
+python \ No newline at end of file
diff --git a/Library/ENV/4.3/python3.3-config b/Library/ENV/4.3/python3.3-config
new file mode 120000
index 000000000..d8654aa0e
--- /dev/null
+++ b/Library/ENV/4.3/python3.3-config
@@ -0,0 +1 @@
+python \ No newline at end of file
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index d8e9da9bc..6f33f0a85 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -67,6 +67,7 @@ module Superenv
validate_cc!(formula) unless formula.nil?
self['DEVELOPER_DIR'] = determine_developer_dir
self['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
+ self['USER_PATH'] = self['PATH']
self['PATH'] = determine_path
self['PKG_CONFIG_PATH'] = determine_pkg_config_path
self['PKG_CONFIG_LIBDIR'] = determine_pkg_config_libdir