aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-05-01 21:10:00 +0100
committerMike McQuaid2014-05-06 19:34:03 +0100
commit4f6587515286b425ebb6d54e1db3bfddb6825836 (patch)
treee63fa9e2adfe597597c7045600d51da2babd1661 /Library
parent40abc3a4ab2611af5ef9cbbcdeead8872eca0f00 (diff)
downloadhomebrew-4f6587515286b425ebb6d54e1db3bfddb6825836.tar.bz2
saltstack: don't depend on :python.
Use the system Python instead.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/saltstack.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/saltstack.rb b/Library/Formula/saltstack.rb
index 6f0d30c2d..cb0218818 100644
--- a/Library/Formula/saltstack.rb
+++ b/Library/Formula/saltstack.rb
@@ -18,7 +18,7 @@ class Saltstack < Formula
head 'https://github.com/saltstack/salt.git', :branch => 'develop',
:using => SaltHeadDownloadStrategy, :shallow => false
- depends_on :python
+ depends_on :python if MacOS.version <= :snow_leopard
depends_on 'swig' => :build
depends_on 'zeromq'
depends_on 'libyaml'
@@ -64,6 +64,7 @@ class Saltstack < Formula
end
def install
+ ENV["PYTHONPATH"] = lib+"python2.7/site-packages"
ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages'
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]