class Logentries < Formula include Language::Python::Virtualenv desc "Utility for access to logentries logging infrastructure" homepage "https://logentries.com/doc/agent/" url "https://github.com/logentries/le/archive/v1.4.41.tar.gz" sha256 "eb29f1c3f22ada7818f8763c94a702e8947f084a948d55100d2dbdf614e21697" head "https://github.com/logentries/le.git" bottle do cellar :any_skip_relocation sha256 "e97d41a863d4692549bd23a9e1e2d01d6255a583b0a25cdd97aaf130e12ef276" => :sierra sha256 "97c9c05730ea6abde47fd6ab054e73510d24db0541cc9394b687bafed1650f72" => :el_capitan sha256 "f61a6ead7bddbedd902216a3210cd23d5ecf7e1bf941c1dee4e59a4dde4479d9" => :yosemite end conflicts_with "le", :because => "both install a le binary" def install virtualenv_install_with_resources end plist_options :manual => "le monitor" def plist; <<-EOS.undent Label #{plist_name} ProgramArguments #{opt_bin}/le monitor KeepAlive RunAtLoad EOS end test do shell_output("#{bin}/le --help", 4) end end