httpie: don't link dependencies (i.e. pygmentize)
Fixes Homebrew/homebrew#30416.
This commit is contained in:
parent
4cd8fa0d7f
commit
3d1b934fce
1 changed files with 2 additions and 7 deletions
|
@ -34,14 +34,9 @@ class Httpie < Formula
|
|||
resource("pygments").stage { system "python", *install_args }
|
||||
resource("requests").stage { system "python", *install_args }
|
||||
|
||||
system "python", "setup.py", "install", "--prefix=#{prefix}"
|
||||
system "python", "setup.py", "install", "--prefix=#{libexec}"
|
||||
|
||||
# These are now rolled into 1.6 and cause linking conflicts
|
||||
rm [Dir.glob("#{bin}/easy_install*"),
|
||||
"#{lib}/python2.7/site-packages/site.py",
|
||||
Dir.glob("#{lib}/python2.7/site-packages/*.pth")]
|
||||
|
||||
bin.env_script_all_files(libexec + "bin", :PYTHONPATH => ENV["PYTHONPATH"])
|
||||
(bin/"http").write_env_script libexec/"bin/http", :PYTHONPATH => ENV["PYTHONPATH"]
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue