influxdb 0.10.0

Closes Homebrew/homebrew#48835.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
gunnaraasen 2016-02-04 11:33:08 -08:00 committed by Dominyk Tiller
parent eb4439c5ee
commit 1aba4c1122

View file

@ -3,11 +3,10 @@ require "language/go"
class Influxdb < Formula
desc "Time series, events, and metrics database"
homepage "https://influxdata.com/time-series-platform/influxdb/"
url "https://github.com/influxdb/influxdb/archive/v0.9.6.1.tar.gz"
sha256 "4e5e2a83f885d1c531ea538397cef1de94717eab02c7e589b9696f22dd65d3e2"
revision 1
url "https://github.com/influxdata/influxdb/archive/v0.10.0.tar.gz"
sha256 "42a8410766047955084a25a98da0a914124081c7ab8b3d994e824063b3914f4a"
head "https://github.com/influxdb/influxdb.git"
head "https://github.com/influxdata/influxdb.git"
bottle do
cellar :any_skip_relocation
@ -16,116 +15,111 @@ class Influxdb < Formula
sha256 "1ef8b86df614fdb63c91d0bb673455ce672eb142e3c6f72b69980c1235a06083" => :mavericks
end
devel do
url "https://github.com/influxdata/influxdb/archive/v0.10.0-beta2.tar.gz"
sha256 "2223cfd7975e578291b74c34dbd6216ccb98114c8fd98a6f94c2ebf0c221501a"
end
depends_on "go" => :build
go_resource "collectd.org" do
url "https://github.com/collectd/go-collectd.git",
:revision => "9fc824c70f713ea0f058a07b49a4c563ef2a3b98"
:revision => "9fc824c70f713ea0f058a07b49a4c563ef2a3b98"
end
go_resource "github.com/BurntSushi/toml" do
url "https://github.com/BurntSushi/toml.git",
:revision => "056c9bc7be7190eaa7715723883caffa5f8fa3e4"
:revision => "5c4df71dfe9ac89ef6287afc05e4c1b16ae65a1e"
end
go_resource "github.com/armon/go-metrics" do
url "https://github.com/armon/go-metrics.git",
:revision => "06b60999766278efd6d2b5d8418a58c3d5b99e87"
:revision => "345426c77237ece5dab0e1605c3e4b35c3f54757"
end
go_resource "github.com/bmizerany/pat" do
url "https://github.com/bmizerany/pat.git",
:revision => "b8a35001b773c267eb260a691f4e5499a3531600"
:revision => "b8a35001b773c267eb260a691f4e5499a3531600"
end
go_resource "github.com/boltdb/bolt" do
url "https://github.com/boltdb/bolt.git",
:revision => "b34b35ea8d06bb9ae69d9a349119252e4c1d8ee0"
:revision => "ee4a0888a9abe7eefe5a0992ca4cb06864839873"
end
go_resource "github.com/davecgh/go-spew" do
url "https://github.com/davecgh/go-spew.git",
:revision => "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d"
:revision => "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d"
end
go_resource "github.com/dgryski/go-bits" do
url "https://github.com/dgryski/go-bits.git",
:revision => "86c69b3c986f9d40065df5bd8f765796549eef2e"
:revision => "86c69b3c986f9d40065df5bd8f765796549eef2e"
end
go_resource "github.com/dgryski/go-bitstream" do
url "https://github.com/dgryski/go-bitstream.git",
:revision => "27cd5973303fde7d914860be1ea4b927a6be0c92"
:revision => "27cd5973303fde7d914860be1ea4b927a6be0c92"
end
go_resource "github.com/gogo/protobuf" do
url "https://github.com/gogo/protobuf.git",
:revision => "e492fd34b12d0230755c45aa5fb1e1eea6a84aa9"
:revision => "82d16f734d6d871204a3feb1a73cb220cc92574c"
end
go_resource "github.com/golang/snappy" do
url "https://github.com/golang/snappy.git",
:revision => "723cc1e459b8eea2dea4583200fd60757d40097a"
:revision => "1963d058044b19e16595f80d5050fa54e2070438"
end
go_resource "github.com/hashicorp/go-msgpack" do
url "https://github.com/hashicorp/go-msgpack.git",
:revision => "fa3f63826f7c23912c15263591e65d54d080b458"
:revision => "fa3f63826f7c23912c15263591e65d54d080b458"
end
go_resource "github.com/hashicorp/raft" do
url "https://github.com/hashicorp/raft.git",
:revision => "d136cd15dfb7876fd7c89cad1995bc4f19ceb294"
:revision => "057b893fd996696719e98b6c44649ea14968c811"
end
go_resource "github.com/hashicorp/raft-boltdb" do
url "https://github.com/hashicorp/raft-boltdb.git",
:revision => "d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee"
:revision => "d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee"
end
go_resource "github.com/influxdb/usage-client" do
url "https://github.com/influxdb/usage-client.git",
:revision => "475977e68d79883d9c8d67131c84e4241523f452"
:revision => "475977e68d79883d9c8d67131c84e4241523f452"
end
go_resource "github.com/jwilder/encoding" do
url "https://github.com/jwilder/encoding.git",
:revision => "07d88d4f35eec497617bee0c7bfe651a796dae13"
:revision => "07d88d4f35eec497617bee0c7bfe651a796dae13"
end
go_resource "github.com/kimor79/gollectd" do
url "https://github.com/kimor79/gollectd.git",
:revision => "61d0deeb4ffcc167b2a1baa8efd72365692811bc"
:revision => "61d0deeb4ffcc167b2a1baa8efd72365692811bc"
end
go_resource "github.com/paulbellamy/ratecounter" do
url "https://github.com/paulbellamy/ratecounter.git",
:revision => "5a11f585a31379765c190c033b6ad39956584447"
:revision => "5a11f585a31379765c190c033b6ad39956584447"
end
go_resource "github.com/peterh/liner" do
url "https://github.com/peterh/liner.git",
:revision => "4d47685ab2fd2dbb46c66b831344d558bc4be5b9"
:revision => "ad1edfd30321d8f006ccf05f1e0524adeb943060"
end
go_resource "github.com/rakyll/statik" do
url "https://github.com/rakyll/statik.git",
:revision => "274df120e9065bdd08eb1120e0375e3dc1ae8465"
:revision => "274df120e9065bdd08eb1120e0375e3dc1ae8465"
end
go_resource "golang.org/x/crypto" do
url "https://go.googlesource.com/crypto.git",
:revision => "7b85b097bf7527677d54d3220065e966a0e3b613"
:revision => "1f22c0103821b9390939b6776727195525381532"
end
go_resource "gopkg.in/fatih/pool.v2" do
url "https://gopkg.in/fatih/pool.v2.git",
:revision => "cba550ebf9bce999a02e963296d4bc7a486cb715"
:revision => "cba550ebf9bce999a02e963296d4bc7a486cb715"
end
def install
@ -137,11 +131,9 @@ class Influxdb < Formula
cd influxdb_path do
if build.head?
system "go", "install", "-ldflags", "-X main.version=0.10.0-HEAD -X main.branch=master -X main.commit=#{`git rev-parse HEAD`.strip}", "./..."
elsif build.devel?
system "go", "install", "-ldflags", "-X main.version=0.10.0-beta2 -X main.branch=master -X main.commit=58e0eed9cb166e0b004e6b41a4d64c39d24b40f4", "./..."
system "go", "install", "-ldflags", "-X main.version=0.10.1-HEAD -X main.branch=master -X main.commit=#{`git rev-parse HEAD`.strip}", "./..."
else
system "go", "install", "-ldflags", "-X main.version=0.9.6.1 -X main.branch=0.9.6 -X main.commit=6d3a8603cfdaf1a141779ed88b093dcc5c528e5e", "./..."
system "go", "install", "-ldflags", "-X main.version=0.10.0 -X main.branch=0.10.0 -X main.commit=b8bb32ecad9808ef00219e7d2469514890a0987a", "./..."
end
end