aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-01-23 10:04:15 -0800
committerMisty De Meo2014-01-26 10:55:49 -0800
commit90e22e389c539b25fe7864645bfe5e2a9ce7452f (patch)
tree1db3c57e45c31db3b32fc9a848e17b06574604e8 /Library
parent390b989d24c24d2178daff8971862888f3197fb1 (diff)
downloadhomebrew-90e22e389c539b25fe7864645bfe5e2a9ce7452f.tar.bz2
Add python superenv wrapper
Closes #26140. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-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