Skip to content

Commit

Permalink
apache-spark: patch to work with python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
liudangyi authored and ilovezfs committed Apr 18, 2017
1 parent f87df7f commit 9f46eef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/apache-spark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ class ApacheSpark < Formula
url "https://www.apache.org/dyn/closer.lua?path=spark/spark-2.1.0/spark-2.1.0-bin-hadoop2.7.tgz"
version "2.1.0"
sha256 "0834c775f38473f67cb122e0ec21074f800ced50c1ff1b9e37e222a0069dc5c7"
revision 1
head "https://github.com/apache/spark.git"

bottle :unneeded

patch do
url "https://github.com/apache/spark/pull/16429.patch"
sha256 "70edb1a3b8560c28b98fa170c4c0ea57aca67eaf3ec62ee80380576768bf24d0"
end

def install
# Rename beeline to distinguish it from hive's beeline
mv "bin/beeline", "bin/spark-beeline"
Expand Down

0 comments on commit 9f46eef

Please sign in to comment.