added anaconda.rb

This commit is contained in:
adityadalal924 2015-08-21 15:53:24 -04:00 committed by Vítor Galvão
parent b606670df0
commit a5e7b4345a
1 changed files with 28 additions and 0 deletions

28
Casks/anaconda.rb Normal file
View File

@ -0,0 +1,28 @@
cask :v1 => 'anaconda' do
version '2.3.0'
sha256 'c4bb59a57bf44dde80612041bbbcfd2e5cab8534842209ef456da7a46f919c33'
url "https://repo.continuum.io/archive/Anaconda-#{version}-MacOSX-x86_64.sh"
name 'Anaconda'
homepage 'https://store.continuum.io/cshop/anaconda/'
license :gratis
tags :vendor => 'Continuum Analytics'
container :type => :naked
preflight do
system '/bin/chmod', '--', '755', "#{staged_path}/Anaconda-#{version}-MacOSX-x86_64.sh"
end
installer :script => "Anaconda-#{version}-MacOSX-x86_64.sh",
:args => [ '-b' ],
:sudo => false
uninstall :delete => '~/anaconda'
caveats do
path_environment_variable '~/anaconda/bin'
end
depends_on :macos => '>= :lion'
end