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.
30 lines
878 B
30 lines
878 B
cask 'miniconda2' do
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
# repo.continuum.io/miniconda was verified as official when first introduced to the cask
|
|
url 'https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh'
|
|
name 'Continuum Analytics Miniconda'
|
|
homepage 'https://www.anaconda.com/what-is-anaconda/'
|
|
|
|
auto_updates true
|
|
depends_on macos: '>= :lion'
|
|
container type: :naked
|
|
|
|
installer script: {
|
|
executable: 'Miniconda2-latest-MacOSX-x86_64.sh',
|
|
args: ['-b', '-p', "#{HOMEBREW_PREFIX}/miniconda2"],
|
|
sudo: true,
|
|
}
|
|
|
|
postflight do
|
|
set_ownership "#{HOMEBREW_PREFIX}/miniconda2"
|
|
end
|
|
|
|
uninstall delete: "#{HOMEBREW_PREFIX}/miniconda2"
|
|
|
|
caveats do
|
|
path_environment_variable "#{HOMEBREW_PREFIX}/miniconda2/bin"
|
|
files_in_usr_local
|
|
end
|
|
end
|
|
|