aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/scons.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/scons.rb')
-rw-r--r--Library/Formula/scons.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/scons.rb b/Library/Formula/scons.rb
index 62fdf48bc..5fb533cef 100644
--- a/Library/Formula/scons.rb
+++ b/Library/Formula/scons.rb
@@ -4,6 +4,7 @@ class Scons < Formula
homepage 'http://www.scons.org'
url 'https://downloads.sourceforge.net/scons/scons-2.3.2.tar.gz'
sha1 '2937f20b86d0c5f86cf31e1fa378307ed34fc20a'
+ revision 1
bottle do
cellar :any
@@ -12,6 +13,13 @@ class Scons < Formula
sha1 "50344e59e5f99675239891ba92aaed4a70323b5e" => :lion
end
+ # Upstream patch to fix compatibility with Python pre-2.7
+ # https://bitbucket.org/scons/scons/commits/1444ad9af1d3b6148451af3f0596cba0ad352c50
+ patch :p2 do
+ url "https://bitbucket.org/scons/scons/commits/1444ad9af1d3b6148451af3f0596cba0ad352c50/raw/"
+ sha1 "022a40b4226d85d82a8145d08443495f31a9ed34"
+ end
+
def install
bin.mkpath # Script won't create this if it doesn't already exist
man1.install gzip('scons-time.1', 'scons.1', 'sconsign.1')