Michael Ford
9 years ago
5 changed files with 0 additions and 113 deletions
@ -1,18 +0,0 @@ |
|||
cask :v1 => 'python25' do |
|||
version '2.5.4' |
|||
sha256 '8a56b4ea88d183cad006c52c1125bb460f77e543c1e691355828e7875fb41e0c' |
|||
|
|||
url "https://www.python.org/ftp/python/#{version}/python-#{version}-macosx.dmg" |
|||
homepage 'http://www.python.org/' |
|||
license :oss |
|||
|
|||
pkg 'MacPython.mpkg' |
|||
|
|||
uninstall :delete => [ |
|||
"/Library/Receipts/Python*-#{version.slice(/\d+\.\d+/)}.pkg", |
|||
"/Applications/Python #{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Python/#{version.slice(/\d+\.\d+/)}", |
|||
] |
|||
zap :delete => "~/Library/Python/#{version.slice(/\d+\.\d+/)}" |
|||
end |
@ -1,18 +0,0 @@ |
|||
cask :v1 => 'python26' do |
|||
version '2.6.6' |
|||
sha256 'f3683e71af5cd96dfd838c76ef7011ca0521562fb2f0d8c30a43dffe62d57c49' |
|||
|
|||
url "https://www.python.org/ftp/python/#{version}/python-#{version}-macosx10.3.dmg" |
|||
homepage 'https://www.python.org/' |
|||
license :oss |
|||
|
|||
pkg 'Python.mpkg' |
|||
|
|||
uninstall :delete => [ |
|||
"/Library/Receipts/Python*-#{version.slice(/\d+\.\d+/)}.pkg", |
|||
"/Applications/Python #{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Python/#{version.slice(/\d+\.\d+/)}", |
|||
] |
|||
zap :delete => "~/Library/Python/#{version.slice(/\d+\.\d+/)}" |
|||
end |
@ -1,27 +0,0 @@ |
|||
cask :v1 => 'python32' |
|||
# note: "32" is a trailing version number on the Cask token, which |
|||
# breaks our own token conventions, for consistency with Homebrew |
|||
version '3.2.5' |
|||
sha256 '581abb199d40271dbb68a8de4f1e4d5a1a7ab45cae8e817a2d9532be7a26a164' |
|||
|
|||
url "https://www.python.org/ftp/python/#{version}/python-#{version}-macosx10.6.dmg" |
|||
name 'Python' |
|||
homepage 'http://www.python.org/' |
|||
license :oss |
|||
|
|||
pkg 'Python.mpkg' |
|||
|
|||
uninstall :pkgutil => [ |
|||
"org.python.Python.PythonApplications-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonDocumentation-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonFramework-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonUnixTools-#{version.slice(/\d+\.\d+/)}", |
|||
], |
|||
:delete => [ |
|||
"/Library/Receipts/PythonInstallPip-#{version.slice(/\d+\.\d+/)}", |
|||
"/Applications/Python #{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Python/#{version.slice(/\d+\.\d+/)}", |
|||
] |
|||
zap :delete => "~/Library/Python/#{version.slice(/\d+\.\d+/)}" |
|||
end |
@ -1,25 +0,0 @@ |
|||
cask :v1 => 'python33' do |
|||
version '3.3.5' |
|||
sha256 '7e59f823f82da5ec7e2af4449a5e33c09f5b755a8acd9cec98371da8c2b2b52b' |
|||
|
|||
url "https://www.python.org/ftp/python/#{version}/python-#{version}-macosx10.6.dmg" |
|||
name 'Python' |
|||
homepage 'https://www.python.org/' |
|||
license :oss |
|||
|
|||
pkg 'Python.mpkg' |
|||
|
|||
uninstall :pkgutil => [ |
|||
"org.python.Python.PythonApplications-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonDocumentation-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonFramework-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonUnixTools-#{version.slice(/\d+\.\d+/)}", |
|||
], |
|||
:delete => [ |
|||
"/Library/Receipts/PythonInstallPip-#{version.slice(/\d+\.\d+/)}", |
|||
"/Applications/Python #{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Python/#{version.slice(/\d+\.\d+/)}", |
|||
] |
|||
zap :delete => "~/Library/Python/#{version.slice(/\d+\.\d+/)}" |
|||
end |
@ -1,25 +0,0 @@ |
|||
cask :v1 => 'python34' do |
|||
version '3.4.3' |
|||
sha256 'ab76fa2ad87d9b36105ccc94b98e40aa158393975a0d45cf0ca491aad6bbcf22' |
|||
|
|||
url "https://www.python.org/ftp/python/#{version}/python-#{version}-macosx10.6.pkg" |
|||
name 'Python' |
|||
homepage 'https://www.python.org/' |
|||
license :oss |
|||
|
|||
pkg "python-#{version}-macosx10.6.pkg" |
|||
|
|||
uninstall :pkgutil => [ |
|||
"org.python.Python.PythonApplications-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonDocumentation-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonFramework-#{version.slice(/\d+\.\d+/)}", |
|||
"org.python.Python.PythonUnixTools-#{version.slice(/\d+\.\d+/)}", |
|||
], |
|||
:delete => [ |
|||
"/Library/Receipts/PythonInstallPip-#{version.slice(/\d+\.\d+/)}", |
|||
"/Applications/Python #{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(/\d+\.\d+/)}", |
|||
"/Library/Python/#{version.slice(/\d+\.\d+/)}", |
|||
] |
|||
zap :delete => "~/Library/Python/#{version.slice(/\d+\.\d+/)}" |
|||
end |
Loading…
Reference in new issue