docker-machine-parallels 1.1.0

Closes Homebrew/homebrew#46221.
Closes Homebrew/homebrew#46199.
Closes Homebrew/homebrew#46065.
Closes Homebrew/homebrew#46227.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Alexander D. Kanevskiy 2015-11-21 00:11:51 +02:00 committed by Dominyk Tiller
parent ce4db276c1
commit 75cdc8bd0e

View file

@ -3,8 +3,8 @@ require "language/go"
class DockerMachineParallels < Formula class DockerMachineParallels < Formula
desc "Docker Machine Parallels Driver" desc "Docker Machine Parallels Driver"
homepage "https://github.com/Parallels/docker-machine-parallels" homepage "https://github.com/Parallels/docker-machine-parallels"
url "https://github.com/Parallels/docker-machine-parallels/archive/v1.0.1.tar.gz" url "https://github.com/Parallels/docker-machine-parallels/archive/v1.1.0.tar.gz"
sha256 "9a5abc454748aeb83c74c45efd3a73359a47e408e215318fbcc6446026581652" sha256 "0f2ccc1c470a71b40e81b548b4587cdcbc098f0ceeea6295ec8bebbb06aa9135"
head "https://github.com/Parallels/docker-machine-parallels.git" head "https://github.com/Parallels/docker-machine-parallels.git"
bottle do bottle do
@ -15,18 +15,21 @@ class DockerMachineParallels < Formula
end end
depends_on "go" => :build depends_on "go" => :build
depends_on "godep" => :build
depends_on "docker-machine" depends_on "docker-machine"
go_resource "github.com/docker/docker" do go_resource "github.com/docker/docker" do
url "https://github.com/docker/docker.git", :revision => "76d6bc9a9f1690e16f3721ba165364688b626de2" # Docker v1.9.1 release
url "https://github.com/docker/docker.git", :revision => "a34a1d598c6096ed8b5ce5219e77d68e5cd85462"
end end
go_resource "github.com/docker/machine" do go_resource "github.com/docker/machine" do
url "https://github.com/docker/machine.git", :revision => "04cfa58445f063509699cdde41080a410330c4df" # Docker Machine v0.5.1 release
url "https://github.com/docker/machine.git", :revision => "7e8e38e1485187c0064e054029bb1cc68c87d39a"
end end
go_resource "golang.org/x/crypto" do go_resource "golang.org/x/crypto" do
url "https://github.com/golang/crypto.git", :revision => "8b27f58b78dbd60e9a26b60b0d908ea642974b6d" url "https://go.googlesource.com/crypto.git", :revision => "beef0f4390813b96e8e68fd78570396d0f4751fc"
end end
def install def install
@ -36,7 +39,7 @@ class DockerMachineParallels < Formula
ln_sf buildpath, buildpath/"src/github.com/Parallels/docker-machine-parallels" ln_sf buildpath, buildpath/"src/github.com/Parallels/docker-machine-parallels"
Language::Go.stage_deps resources, buildpath/"src" Language::Go.stage_deps resources, buildpath/"src"
system "make", "build" system "godep", "go", "build", "-i", "-o", "./bin/docker-machine-driver-parallels", "./bin"
bin.install "bin/docker-machine-driver-parallels" bin.install "bin/docker-machine-driver-parallels"
end end