New Cask mysql-connector-python

This commit is contained in:
Lee Hanxue 2016-01-28 21:07:46 +08:00 committed by Vítor Galvão
parent 942eec0f53
commit 41fcec013d
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
cask 'mysql-connector-python' do
version '2.1.3'
sha256 '49655f970317383fc188ff48c777ade58be40d05d33be44c1c5e676546e41ba4'
if MacOS.release <= :mountain_lion
url "http://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-#{version}-osx10.8.dmg"
else
url "http://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-#{version}-osx10.9.dmg"
end
name 'MySQL Connector for Python'
homepage 'https://dev.mysql.com/downloads/utilities/'
license :gpl
pkg "mysql-connector-python-cext-#{version}.pkg"
uninstall pkgutil: 'com.oracle.mysql.connector.python'
end