mysql-utilities: delete
Does not support Python 3. Is EOL: https://downloads.mysql.com/archives/utilities/ Users are encouraged to migrate to MySQL Shell
This commit is contained in:
parent
a5a22deb0e
commit
409722c430
1 changed files with 0 additions and 39 deletions
|
@ -1,39 +0,0 @@
|
|||
class MysqlUtilities < Formula
|
||||
desc "Tools for maintaining and administering MySQL servers"
|
||||
homepage "https://dev.mysql.com/downloads/utilities/"
|
||||
url "https://github.com/mysql/mysql-utilities/archive/release-1.6.5.tar.gz"
|
||||
sha256 "40b6987064f204fed2286c682c9a6ded8ba4670f7543edd310aab91fee8fbc3b"
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
sha256 "9ffab9999299858c8a5c019d55e94b04a1babec5bd3ef96ac4694f49837bf3dc" => :catalina
|
||||
sha256 "793415e1d7e6deffe3f3dde70ff6262d41ad3661664df7906b8996cfaaa292a1" => :mojave
|
||||
sha256 "952e22b82a12919d9fb06d5aba5eb7e214b70c3b5d27e3ab1d219e19e2e01ec9" => :high_sierra
|
||||
sha256 "7166858aeafbd28075334ede9d60569a282ccd0a87dcf353cb6b56a40ae987c0" => :sierra
|
||||
sha256 "7166858aeafbd28075334ede9d60569a282ccd0a87dcf353cb6b56a40ae987c0" => :el_capitan
|
||||
sha256 "7166858aeafbd28075334ede9d60569a282ccd0a87dcf353cb6b56a40ae987c0" => :yosemite
|
||||
end
|
||||
|
||||
depends_on "python@2" # does not support Python 3
|
||||
|
||||
resource "mysql-connector-python" do
|
||||
url "https://github.com/mysql/mysql-connector-python/archive/2.2.2.tar.gz"
|
||||
sha256 "fe46832fa4007c81c5aff6574f2852f301f105bf1e351d5cc69e012309116fa1"
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
|
||||
resource("mysql-connector-python").stage do
|
||||
system "python", "setup.py", "install", "--prefix=" + libexec
|
||||
end
|
||||
|
||||
system "python", "setup.py", "install", "--prefix=" + libexec
|
||||
|
||||
bin.install Dir[libexec/"bin/*"]
|
||||
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/mysqldiff", "--help"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue