You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1021 B
32 lines
1021 B
cask 'anaconda2' do
|
|
version '4.4.0'
|
|
sha256 'ab95aef1110c2a385fd39a17e5f11dfbaabce25c1a5944598de164d7a2772969'
|
|
|
|
# repo.continuum.io/archive was verified as official when first introduced to the cask
|
|
url "https://repo.continuum.io/archive/Anaconda2-#{version}-MacOSX-x86_64.sh"
|
|
name 'Continuum Analytics Anaconda2'
|
|
homepage 'https://www.anaconda.com/what-is-anaconda/'
|
|
|
|
depends_on macos: '>= :lion'
|
|
container type: :naked
|
|
|
|
installer script: {
|
|
executable: "Anaconda2-#{version}-MacOSX-x86_64.sh",
|
|
args: ['-b', '-p', "#{HOMEBREW_PREFIX}/anaconda2"],
|
|
sudo: true,
|
|
}
|
|
|
|
postflight do
|
|
set_ownership "#{HOMEBREW_PREFIX}/anaconda2"
|
|
end
|
|
|
|
uninstall delete: [
|
|
"#{HOMEBREW_PREFIX}/anaconda2",
|
|
'/Applications/Anaconda-Navigator.app',
|
|
]
|
|
|
|
caveats do
|
|
path_environment_variable "#{HOMEBREW_PREFIX}/anaconda2/bin"
|
|
files_in_usr_local
|
|
end
|
|
end
|
|
|