logentries 1.4.19

This commit is contained in:
Dominyk Tiller 2015-07-10 02:03:38 +01:00
parent b1ad8de095
commit f2189b00e9

View file

@ -1,14 +1,16 @@
require "formula"
class Logentries < Formula
desc "Utility for access to logentries logging infrastructure"
homepage "https://logentries.com/doc/agent/"
url "https://github.com/logentries/le/archive/v1.3.2.tar.gz"
sha1 "5085a64e4f3c0119e213e53fa750e7b895f786e5"
url "https://github.com/logentries/le/archive/v1.4.19.tar.gz"
sha256 "400765eef31ec7b453bb41f2fa31f8e6dda797561280af2e8feb643fde84a217"
conflicts_with "le", :because => "both install a le binary"
def install
bin.install "le"
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
system "python", *Language::Python.setup_install_args(libexec)
bin.install Dir["#{libexec}/bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
end
end