diff options
Diffstat (limited to 'Library/Formula/scons.rb')
| -rw-r--r-- | Library/Formula/scons.rb | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/Library/Formula/scons.rb b/Library/Formula/scons.rb index 34869fa72..61444151d 100644 --- a/Library/Formula/scons.rb +++ b/Library/Formula/scons.rb @@ -1,10 +1,9 @@ -require 'formula' +require "formula" class Scons < Formula - homepage 'http://www.scons.org' - url 'https://downloads.sourceforge.net/scons/scons-2.3.2.tar.gz' - sha1 '2937f20b86d0c5f86cf31e1fa378307ed34fc20a' - revision 1 + homepage "http://www.scons.org" + url "https://downloads.sourceforge.net/scons/scons-2.3.3.tar.gz" + sha1 "7bb1c755610613d9dab71bd56267fd1f531a2f97" bottle do cellar :any @@ -13,16 +12,9 @@ class Scons < Formula sha1 "08e0c669f54b07f58d10aa160f0dc9fe75e9bf77" => :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') + man1.install gzip("scons-time.1", "scons.1", "sconsign.1") system "/usr/bin/python", "setup.py", "install", "--prefix=#{prefix}", "--standalone-lib", |
