From 0d8dde218b2941326debd384991cb06e3b5c0a58 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 20 Sep 2014 00:03:19 -0500 Subject: [PATCH] protobuf 2.6.0 --- Formula/protobuf.rb | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Formula/protobuf.rb b/Formula/protobuf.rb index f669e56dc49..ba1299a744b 100644 --- a/Formula/protobuf.rb +++ b/Formula/protobuf.rb @@ -2,14 +2,10 @@ require 'formula' class Protobuf < Formula homepage 'http://code.google.com/p/protobuf/' - url 'https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2' - sha1 '62c10dcdac4b69cc8c6bb19f73db40c264cb2726' + url 'https://protobuf.googlecode.com/svn/rc/protobuf-2.6.0.tar.bz2', :using => :curl + sha1 '6d9dc4c5899232e2397251f9323cbdf176391d1b' bottle do - cellar :any - sha1 "72e17ffad4e40e1e9b15aa116238110d3a68f753" => :mavericks - sha1 "bcc4795d8f01a0682d968e195917f79618711126" => :mountain_lion - sha1 "51b7b27f7d5e5ffcf9b8a4d49882c2217653e5e6" => :lion end option :universal @@ -40,11 +36,10 @@ class Protobuf < Formula if build.with? 'python' chdir 'python' do - ENV['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'cpp' ENV.append_to_cflags "-I#{include}" ENV.append_to_cflags "-L#{lib}" system 'python', 'setup.py', 'build' - system 'python', 'setup.py', 'install', "--prefix=#{prefix}", + system 'python', 'setup.py', 'install', '--cpp_implementation', "--prefix=#{prefix}", '--single-version-externally-managed', '--record=installed.txt' end end