aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/httpie.rb
diff options
context:
space:
mode:
authorAndy Freeland2014-06-24 16:57:15 -0400
committerMike McQuaid2014-06-24 22:38:29 +0100
commit39ae1bce0cb1f03dfcff7c91311dd36bf88a0018 (patch)
tree65d30fe3e7a0d3e7ffca32953659d17a4033b32c /Library/Formula/httpie.rb
parentf421140dcbda0d7ccf080a884a280aed6ee160ce (diff)
downloadhomebrew-39ae1bce0cb1f03dfcff7c91311dd36bf88a0018.tar.bz2
httpie: don't link dependencies (i.e. pygmentize)
Fixes #30416.
Diffstat (limited to 'Library/Formula/httpie.rb')
-rw-r--r--Library/Formula/httpie.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/httpie.rb b/Library/Formula/httpie.rb
index dc59c3eab..319b76436 100644
--- a/Library/Formula/httpie.rb
+++ b/Library/Formula/httpie.rb
@@ -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