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.42.tar.gz" sha256 "52e4bfb61753a2fe9f83232e9cefe1aa9ebb87899572f070bad7293e1d891bf9" head "https://github.com/logentries/le.git" bottle do cellar :any_skip_relocation sha256 "76338a8179b342a815cc03c2a074b6bc2fcc1dbea309d676e33e0a9ce659760d" => :high_sierra sha256 "bf29b4ac8bba11425b5a06ce68568c60f83cc0676927b967cb8d9c41995df60d" => :sierra sha256 "231eb13cd13914785b8b09f63e0758201ae7e36ad57cf6c847e0f9effc25b556" => :el_capitan end conflicts_with "le", :because => "both install a le binary" depends_on "python@2" def install virtualenv_install_with_resources end plist_options :manual => "le monitor" def plist; <<~EOS Label #{plist_name} ProgramArguments #{opt_bin}/le monitor KeepAlive RunAtLoad EOS end test do shell_output("#{bin}/le --help", 4) end end