git-cola: depend on pyqt5
10.12 compatibility Closes #6210. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
949487038a
commit
93517c34ed
1 changed files with 4 additions and 3 deletions
|
@ -14,14 +14,15 @@ class GitCola < Formula
|
|||
|
||||
option "with-docs", "Build manpages and HTML docs"
|
||||
|
||||
depends_on "pyqt"
|
||||
depends_on "pyqt5"
|
||||
depends_on :python3
|
||||
depends_on "sphinx-doc" => :build if build.with? "docs"
|
||||
|
||||
def install
|
||||
system "make", "prefix=#{prefix}", "install"
|
||||
system "make", "PYTHON=python3", "prefix=#{prefix}", "install"
|
||||
|
||||
if build.with? "docs"
|
||||
system "make", "install-doc", "prefix=#{prefix}",
|
||||
system "make", "install-doc", "PYTHON=python3", "prefix=#{prefix}",
|
||||
"SPHINXBUILD=#{Formula["sphinx-doc"].opt_bin}/sphinx-build"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue