aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-05-01 21:10:29 +0100
committerMike McQuaid2014-05-06 19:34:03 +0100
commit416cb49093cefa98cf34b69ee13386972a426e61 (patch)
tree5651336cd63c1d4abdc2f77108c6ff202de30326 /Library/Formula
parent4f6587515286b425ebb6d54e1db3bfddb6825836 (diff)
downloadhomebrew-416cb49093cefa98cf34b69ee13386972a426e61.tar.bz2
sqlmap: don't depend on :python.
Use the system Python instead.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sqlmap.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/sqlmap.rb b/Library/Formula/sqlmap.rb
index 0e460f518..32c38c6c2 100644
--- a/Library/Formula/sqlmap.rb
+++ b/Library/Formula/sqlmap.rb
@@ -10,7 +10,7 @@ class Sqlmap < Formula
option "with-impacket", "Install with support for ICMP tunneling out-of-band takeover"
option "with-ntlm", "Install with support for NTLM authentication"
- depends_on :python
+ depends_on :python if MacOS.version <= :snow_leopard
resource "psycopg" do
url "http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.2.tar.gz"
@@ -53,6 +53,7 @@ class Sqlmap < 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}" ]