From dc6ca414f0a9f9842c7f3a9c24464a94383617cc Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 28 Aug 2017 02:58:11 -0700 Subject: [PATCH] protobuf-swift 3.0.23 depend on protobuf instead of protobuf@3.1 Closes #17318. Signed-off-by: ilovezfs --- Formula/protobuf-swift.rb | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Formula/protobuf-swift.rb b/Formula/protobuf-swift.rb index 4755f02f9b..7f5b6c78fa 100644 --- a/Formula/protobuf-swift.rb +++ b/Formula/protobuf-swift.rb @@ -1,9 +1,8 @@ class ProtobufSwift < Formula desc "Implementation of Protocol Buffers in Swift" homepage "https://github.com/alexeyxo/protobuf-swift" - url "https://github.com/alexeyxo/protobuf-swift/archive/3.0.22.tar.gz" - sha256 "3d24391b0e91c0bf665aa045b99279300b6ebaaf0aff18a273b5f39aabcd3700" - revision 1 + url "https://github.com/alexeyxo/protobuf-swift/archive/3.0.23.tar.gz" + sha256 "276ed362c440ebcfe258b1ccf38160983ec518a29855f35c0bf38b4a5fd38068" bottle do cellar :any @@ -15,10 +14,7 @@ class ProtobufSwift < Formula depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build - - # Upstream issue "protobuf 3.4.0 build failure" - # Reported 16 Aug 2017 https://github.com/alexeyxo/protobuf-swift/issues/217 - depends_on "protobuf@3.1" + depends_on "protobuf" def install system "protoc", "-Iplugin/compiler", @@ -44,6 +40,6 @@ class ProtobufSwift < Formula } EOS (testpath/"test.proto").write(testdata) - system Formula["protobuf@3.1"].opt_bin/"protoc", "test.proto", "--swift_out=." + system Formula["protobuf"].opt_bin/"protoc", "test.proto", "--swift_out=." end end