auditbeat: fix component order

This commit is contained in:
commitay 2018-09-21 13:08:54 +10:00
parent cf50182d1d
commit 23eaa6ad29

View file

@ -17,6 +17,11 @@ class Auditbeat < Formula
depends_on "go" => :build
depends_on "python@2" => :build
resource "virtualenv" do
url "https://files.pythonhosted.org/packages/b1/72/2d70c5a1de409ceb3a27ff2ec007ecdd5cc52239e7c74990e32af57affe9/virtualenv-15.2.0.tar.gz"
sha256 "1d7e241b431e7afce47e77f8843a276f652699d1fa4f93b9d8ce0076fd7b0b54"
end
# Patch required to build against go 1.10.
# May be removed once upstream beats project fully supports go 1.10.
patch do
@ -24,11 +29,6 @@ class Auditbeat < Formula
sha256 "cf0988ba5ff5cc8bd7502671f08ea282b19720be42bea2aaf5c236b29a01a24f"
end
resource "virtualenv" do
url "https://files.pythonhosted.org/packages/b1/72/2d70c5a1de409ceb3a27ff2ec007ecdd5cc52239e7c74990e32af57affe9/virtualenv-15.2.0.tar.gz"
sha256 "1d7e241b431e7afce47e77f8843a276f652699d1fa4f93b9d8ce0076fd7b0b54"
end
def install
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/elastic/beats").install buildpath.children