global 6.5.7

Closes #13830.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-05-22 21:51:55 -07:00
parent 9b789c6848
commit 18ad3d50b3

View file

@ -1,9 +1,9 @@
class Global < Formula
desc "Source code tag system"
homepage "https://www.gnu.org/software/global/"
url "https://ftp.gnu.org/gnu/global/global-6.5.6.tar.gz"
mirror "https://ftpmirror.gnu.org/global/global-6.5.6.tar.gz"
sha256 "122f9afa69a8daa0f64c12db7f02981fe573f51a163fa3829ed4f832cd281505"
url "https://ftp.gnu.org/gnu/global/global-6.5.7.tar.gz"
mirror "https://ftpmirror.gnu.org/global/global-6.5.7.tar.gz"
sha256 "d9c08fa524f9499b54241cb2d72f8a7df01453b6d5e012a63784ded08e3acd32"
bottle do
sha256 "af4fa80ef9e85cb7cae59aa640d6cd03af96f8f47e9ead463bf711fcc5c589dd" => :sierra
@ -23,7 +23,7 @@ class Global < Formula
end
option "with-ctags", "Enable Exuberant Ctags as a plug-in parser"
option "with-pygments", "Enable Pygments as a plug-in parser (should enable exuberent-ctags too)"
option "with-pygments", "Enable Pygments as a plug-in parser (should enable exuberant-ctags too)"
option "with-sqlite3", "Use SQLite3 API instead of BSD/DB API for making tag files"
deprecated_option "with-exuberant-ctags" => "with-ctags"
@ -32,9 +32,9 @@ class Global < Formula
skip_clean "lib/gtags"
resource "pygments" do
url "https://pypi.python.org/packages/source/P/Pygments/Pygments-2.1.3.tar.gz"
sha256 "88e4c8a91b2af5962bfa5ea2447ec6dd357018e86e94c7d14bd8cacbc5b55d81"
resource "Pygments" do
url "https://files.pythonhosted.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz"
sha256 "dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc"
end
def install
@ -55,7 +55,7 @@ class Global < Formula
if build.with? "pygments"
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
pygments_args = %W[build install --prefix=#{libexec}]
resource("pygments").stage { system "python", "setup.py", *pygments_args }
resource("Pygments").stage { system "python", "setup.py", *pygments_args }
end
system "./configure", *args