Permalink
Browse files

Use Ruby 1.9+ symbol hash keys in all formulae. (#4942)

  • Loading branch information...
MikeMcQuaid committed Sep 18, 2016
1 parent 1073219 commit 303660134f72cffaef94f87abfb6bfeedccc0e1c
Showing 977 changed files with 1,897 additions and 1,899 deletions.
@@ -11,7 +11,7 @@ class AardvarkShellUtils < Formula
sha256 "e8e8b6fd4ee85d8a6ae267fbd20160c1aeddeb6c8e302793b12a807131ef4b27" => :mavericks
end
conflicts_with "coreutils", :because => "both install `realpath` binaries"
conflicts_with "coreutils", because: "both install `realpath` binaries"
def install
system "./configure", "--disable-debug",
View
@@ -3,7 +3,7 @@ class Abcl < Formula
homepage "http://abcl.org"
url "http://abcl.org/releases/1.3.3/abcl-src-1.3.3.tar.gz"
sha256 "2186e3670bc9778472f5589109a79f13f0e487444e0602b6fcdc96b7c68f7d0f"
head "http://abcl.org/svn/trunk/abcl/", :using => :svn
head "http://abcl.org/svn/trunk/abcl/", using: :svn
bottle do
cellar :any_skip_relocation
@@ -14,7 +14,7 @@ class Abcl < Formula
end
depends_on "ant"
depends_on :java => "1.5+"
depends_on java: "1.5+"
depends_on "rlwrap" => :recommended
def install
View
@@ -5,7 +5,7 @@ class Ack < Formula
version "2.14"
sha256 "1d203cfbc52ce8f49e3992be1cd3e4d7d5dfb7daa3739e8628aa9858ccc5b9df"
head "https://github.com/petdance/ack2.git", :branch => "dev"
head "https://github.com/petdance/ack2.git", branch: "dev"
devel do
url "https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/ack-2.15_01.tar.gz"
@@ -40,7 +40,7 @@ def install
libexec.install "ack"
chmod 0755, libexec/"ack"
(libexec/"lib").install "blib/lib/App"
(bin/"ack").write_env_script("#{libexec}/ack", :PERL5LIB => ENV["PERL5LIB"])
(bin/"ack").write_env_script("#{libexec}/ack", PERL5LIB: ENV["PERL5LIB"])
man1.install "blib/man1/ack.1"
end
end
View
@@ -4,8 +4,8 @@ class Acmetool < Formula
desc "Automatic certificate acquisition tool for ACME (Let's Encrypt)"
homepage "https://github.com/hlandau/acme"
url "https://github.com/hlandau/acme.git",
:tag => "v0.0.58",
:revision => "a4d55ea51a8782633d7ca477d24c5da9a5c6147b"
tag: "v0.0.58",
revision: "a4d55ea51a8782633d7ca477d24c5da9a5c6147b"
bottle do
sha256 "b5767527c07c989aeb07cd0e442af716df286dc598633b5b88955180f07da448" => :el_capitan
@@ -17,132 +17,132 @@ class Acmetool < Formula
go_resource "github.com/alecthomas/template" do
url "https://github.com/alecthomas/template.git",
:revision => "a0175ee3bccc567396460bf5acd36800cb10c49c"
revision: "a0175ee3bccc567396460bf5acd36800cb10c49c"
end
go_resource "github.com/alecthomas/units" do
url "https://github.com/alecthomas/units.git",
:revision => "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a"
revision: "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a"
end
go_resource "github.com/coreos/go-systemd" do
url "https://github.com/coreos/go-systemd.git",
:revision => "43e4800a6165b4e02bb2a36673c54b230d6f7b26"
revision: "43e4800a6165b4e02bb2a36673c54b230d6f7b26"
end
go_resource "github.com/hlandau/buildinfo" do
url "https://github.com/hlandau/buildinfo.git",
:revision => "b25d4b0e518fdb8bcbefaa3d52d77473bebe08fd"
revision: "b25d4b0e518fdb8bcbefaa3d52d77473bebe08fd"
end
go_resource "github.com/hlandau/dexlogconfig" do
url "https://github.com/hlandau/dexlogconfig.git",
:revision => "055e2e35f21ef605ada9e9af4e36597678678bf1"
revision: "055e2e35f21ef605ada9e9af4e36597678678bf1"
end
go_resource "github.com/hlandau/goutils" do
url "https://github.com/hlandau/goutils.git",
:revision => "0cdb66aea5b843822af6fdffc21286b8fe8379c4"
revision: "0cdb66aea5b843822af6fdffc21286b8fe8379c4"
end
go_resource "github.com/hlandau/xlog" do
url "https://github.com/hlandau/xlog.git",
:revision => "197ef798aed28e08ed3e176e678fda81be993a31"
revision: "197ef798aed28e08ed3e176e678fda81be993a31"
end
go_resource "github.com/hlandauf/gspt" do
url "https://github.com/hlandauf/gspt.git",
:revision => "25f3bd3f5948489aa5f31c949310ae9f2b0e956c"
revision: "25f3bd3f5948489aa5f31c949310ae9f2b0e956c"
end
go_resource "github.com/jmhodges/clock" do
url "https://github.com/jmhodges/clock.git",
:revision => "880ee4c335489bc78d01e4d0a254ae880734bc15"
revision: "880ee4c335489bc78d01e4d0a254ae880734bc15"
end
go_resource "github.com/mattn/go-isatty" do
url "https://github.com/mattn/go-isatty.git",
:revision => "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8"
revision: "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8"
end
go_resource "github.com/mitchellh/go-wordwrap" do
url "https://github.com/mitchellh/go-wordwrap.git",
:revision => "ad45545899c7b13c020ea92b2072220eefad42b8"
revision: "ad45545899c7b13c020ea92b2072220eefad42b8"
end
go_resource "github.com/ogier/pflag" do
url "https://github.com/ogier/pflag.git",
:revision => "45c278ab3607870051a2ea9040bb85fcb8557481"
revision: "45c278ab3607870051a2ea9040bb85fcb8557481"
end
go_resource "github.com/peterhellberg/link" do
url "https://github.com/peterhellberg/link.git",
:revision => "d1cebc7ea14a5fc0de7cb4a45acae773161642c6"
revision: "d1cebc7ea14a5fc0de7cb4a45acae773161642c6"
end
go_resource "github.com/satori/go.uuid" do
url "https://github.com/satori/go.uuid.git",
:revision => "0aa62d5ddceb50dbcb909d790b5345affd3669b6"
revision: "0aa62d5ddceb50dbcb909d790b5345affd3669b6"
end
go_resource "github.com/shiena/ansicolor" do
url "https://github.com/shiena/ansicolor.git",
:revision => "a422bbe96644373c5753384a59d678f7d261ff10"
revision: "a422bbe96644373c5753384a59d678f7d261ff10"
end
go_resource "golang.org/x/crypto" do
url "https://go.googlesource.com/crypto.git",
:revision => "9e590154d2353f3f5e1b24da7275686040dcf491"
revision: "9e590154d2353f3f5e1b24da7275686040dcf491"
end
go_resource "golang.org/x/net" do
url "https://go.googlesource.com/net.git",
:revision => "1358eff22f0dd0c54fc521042cc607f6ff4b531a"
revision: "1358eff22f0dd0c54fc521042cc607f6ff4b531a"
end
go_resource "gopkg.in/alecthomas/kingpin.v2" do
url "https://gopkg.in/alecthomas/kingpin.v2.git",
:revision => "e9044be3ab2a8e11d4e1f418d12f0790d57e8d70"
revision: "e9044be3ab2a8e11d4e1f418d12f0790d57e8d70"
end
go_resource "gopkg.in/cheggaaa/pb.v1" do
url "https://gopkg.in/cheggaaa/pb.v1.git",
:revision => "9453b2db37f4d8bc63751daca63bbe7049eb5e74"
revision: "9453b2db37f4d8bc63751daca63bbe7049eb5e74"
end
go_resource "gopkg.in/hlandau/configurable.v1" do
url "https://gopkg.in/hlandau/configurable.v1.git",
:revision => "41496864a1fe3e0fef2973f22372b755d2897402"
revision: "41496864a1fe3e0fef2973f22372b755d2897402"
end
go_resource "gopkg.in/hlandau/easyconfig.v1" do
url "https://gopkg.in/hlandau/easyconfig.v1.git",
:revision => "bc5afaa18a1a72fe424da647d6bb57ca4d7f83c4"
revision: "bc5afaa18a1a72fe424da647d6bb57ca4d7f83c4"
end
go_resource "gopkg.in/hlandau/service.v2" do
url "https://gopkg.in/hlandau/service.v2.git",
:revision => "601cce2a79c1e61856e27f43c28ed4d7d2c7a619"
revision: "601cce2a79c1e61856e27f43c28ed4d7d2c7a619"
end
go_resource "gopkg.in/hlandau/svcutils.v1" do
url "https://gopkg.in/hlandau/svcutils.v1.git",
:revision => "88dbd6d288dcde4c17ea6048d9f3da23f263571c"
revision: "88dbd6d288dcde4c17ea6048d9f3da23f263571c"
end
go_resource "gopkg.in/square/go-jose.v1" do
url "https://gopkg.in/square/go-jose.v1.git",
:revision => "139276ceb5afbf13e636c44e9382f0ca75c12ba3"
revision: "139276ceb5afbf13e636c44e9382f0ca75c12ba3"
end
go_resource "gopkg.in/tylerb/graceful.v1" do
url "https://gopkg.in/tylerb/graceful.v1.git",
:revision => "50a48b6e73fcc75b45e22c05b79629a67c79e938"
revision: "50a48b6e73fcc75b45e22c05b79629a67c79e938"
end
go_resource "gopkg.in/yaml.v2" do
url "https://gopkg.in/yaml.v2.git",
:revision => "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e"
revision: "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e"
end
def install
View
@@ -6,15 +6,15 @@ class Activemq < Formula
bottle :unneeded
depends_on :java => "1.6+"
depends_on java: "1.6+"
def install
rm_rf Dir["bin/linux-x86-*"]
libexec.install Dir["*"]
(bin/"activemq").write_env_script libexec/"bin/activemq", Language::Java.java_home_env("1.6+")
end
plist_options :manual => "activemq start"
plist_options manual: "activemq start"
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
@@ -22,7 +22,7 @@ class AescryptPacketizer < Formula
option "with-default-names", "Build with the binaries named as expected upstream"
depends_on :xcode => :build
depends_on xcode: :build
def install
if build.head?
View
@@ -15,7 +15,7 @@ class Afflib < Formula
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "expat" => :optional
depends_on :osxfuse => :optional
depends_on osxfuse: :optional
depends_on "openssl"
# This patch fixes a bug reported upstream over there
View
@@ -44,18 +44,18 @@ class Agda < Formula
depends_on "cabal-install" => :build
end
depends_on :emacs => ["23.4", :recommended]
depends_on emacs: ["23.4", :recommended]
def install
# install Agda core
install_cabal_package :using => ["alex", "happy", "cpphs"]
install_cabal_package using: ["alex", "happy", "cpphs"]
if build.with? "stdlib"
resource("stdlib").stage lib/"agda"
# generate the standard library's bytecode
cd lib/"agda" do
cabal_sandbox :home => buildpath, :keep_lib => true do
cabal_sandbox home: buildpath, keep_lib: true do
cabal_install "--only-dependencies"
cabal_install
system "GenerateEverything"
View
@@ -13,7 +13,7 @@ class Aggregate < Formula
sha256 "169598a0d41382215ba51ed0c377c98857804e82fb1658414dd04ee94ddbb993" => :mavericks
end
conflicts_with "crush-tools", :because => "both install an `aggregate` binary"
conflicts_with "crush-tools", because: "both install an `aggregate` binary"
def install
bin.mkpath
View
@@ -43,7 +43,7 @@ def caveats
EOS
end
plist_options :startup => true
plist_options startup: true
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
View
@@ -63,23 +63,23 @@ class Algernon < Formula
github.com/yuin/gopher-lua 47f0f792b296190027f38d577f0860e2dad7a777
].each_slice(2) do |resurl, rev|
go_resource resurl do
url "https://#{resurl}.git", :revision => rev
url "https://#{resurl}.git", revision: rev
end
end
go_resource "golang.org/x/crypto" do
url "https://go.googlesource.com/crypto.git",
:revision => "5bcd134fee4dd1475da17714aac19c0aa0142e2f"
revision: "5bcd134fee4dd1475da17714aac19c0aa0142e2f"
end
go_resource "golang.org/x/net" do
url "https://go.googlesource.com/net.git",
:revision => "c4c3ea71919de159c9e246d7be66deb7f0a39a58"
revision: "c4c3ea71919de159c9e246d7be66deb7f0a39a58"
end
go_resource "golang.org/x/sys" do
url "https://go.googlesource.com/sys.git",
:revision => "076b546753157f758b316e59bcb51e6807c04057"
revision: "076b546753157f758b316e59bcb51e6807c04057"
end
def install
View
@@ -11,7 +11,7 @@ class Align < Formula
sha256 "f903cb30e079f56c5743e2ca22a168c61d7a7c57b2cf6bc3c6492ed214a296a3" => :mavericks
end
conflicts_with "speech-tools", :because => "both install `align` binaries"
conflicts_with "speech-tools", because: "both install `align` binaries"
def install
system "make", "install", "BINDIR=#{bin}"
View
@@ -3,7 +3,7 @@ class Allegro < Formula
homepage "http://liballeg.org/"
url "http://download.gna.org/allegro/allegro/5.2.1.1/allegro-5.2.1.1.tar.gz"
sha256 "b5d9df303bc6d72d54260c24505889acd995049b75463b46344e797a58a44a71"
head "https://github.com/liballeg/allegro5.git", :branch => "master"
head "https://github.com/liballeg/allegro5.git", branch: "master"
bottle do
cellar :any
View
@@ -5,7 +5,7 @@ class Alot < Formula
homepage "https://github.com/pazz/alot"
url "https://github.com/pazz/alot/archive/0.3.7.tar.gz"
sha256 "fd2d4121ba109224560919e84e320b09526891fbc0038afcea26a3f1284dad26"
head "https://github.com/pazz/alot.git", :branch => "testing"
head "https://github.com/pazz/alot.git", branch: "testing"
bottle do
cellar :any
View
@@ -1,12 +1,12 @@
class AmmoniteRepl < Formula
desc "Ammonite is a cleanroom re-implementation of the Scala REPL"
homepage "https://lihaoyi.github.io/Ammonite/#Ammonite-REPL"
url "https://github.com/lihaoyi/Ammonite/releases/download/0.7.7/0.7.7", :using => :nounzip
url "https://github.com/lihaoyi/Ammonite/releases/download/0.7.7/0.7.7", using: :nounzip
sha256 "c0e9598f49604e3ec8def8357610e278628f0ea20cf150b264b32de1389f6e4e"
bottle :unneeded
depends_on :java => "1.7+"
depends_on java: "1.7+"
def install
bin.install Dir["*"].shift => "amm"
View
@@ -29,7 +29,7 @@ def install
end
system "make", "prefix=#{prefix}", "install"
bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"])
bin.env_script_all_files(libexec+"bin", PERL5LIB: ENV["PERL5LIB"])
end
test do
View
@@ -7,11 +7,11 @@ class AndroidNdk < Formula
bottle :unneeded
# As of r10e, only a 64-bit version is provided
depends_on :arch => :x86_64
depends_on arch: :x86_64
depends_on "android-sdk" => :recommended
conflicts_with "crystax-ndk",
:because => "both install `ndk-build`, `ndk-gdb` and `ndk-stack` binaries"
because: "both install `ndk-build`, `ndk-gdb` and `ndk-stack` binaries"
def install
bin.mkpath
@@ -9,10 +9,10 @@ class AndroidPlatformTools < Formula
bottle :unneeded
depends_on :macos => :mountain_lion
depends_on macos: :mountain_lion
conflicts_with "android-sdk",
:because => "the Android Platform-tools are part of the Android SDK"
because: "the Android Platform-tools are part of the Android SDK"
def install
bin.install "adb", "fastboot"
Oops, something went wrong.

0 comments on commit 3036601

Please sign in to comment.