pebble-sdk: don't depend on :python.
Use the system Python instead.
This commit is contained in:
parent
c82ac18486
commit
c05a6a1559
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,6 @@ class PebbleSdk < Formula
|
|||
end
|
||||
|
||||
depends_on :macos => :mountain_lion
|
||||
depends_on :python
|
||||
depends_on 'freetype' => :recommended
|
||||
depends_on 'mpfr' => :build
|
||||
depends_on 'gmp' => :build
|
||||
|
@ -74,6 +73,7 @@ class PebbleSdk < Formula
|
|||
s.gsub! /^process = subprocess\.Popen\(args, shell=False, env=local_python_env\)/, "process = subprocess.Popen(args, shell=False)"
|
||||
end
|
||||
|
||||
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}" ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue