aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-01 22:31:53 +0100
committerMike McQuaid2015-03-21 10:29:28 +0000
commit7b34e078a17e29036a7a96d6087a28487ebe6875 (patch)
treefe892433067ab248222f56ee00ffd7f751ae329b /Library
parent5136290bc501fbaa092e9ec4308d76489bcf7cf6 (diff)
downloadhomebrew-7b34e078a17e29036a7a96d6087a28487ebe6875.tar.bz2
sbcl 1.2.9
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sbcl.rb17
1 files changed, 7 insertions, 10 deletions
diff --git a/Library/Formula/sbcl.rb b/Library/Formula/sbcl.rb
index 66d1a7844..4988a7594 100644
--- a/Library/Formula/sbcl.rb
+++ b/Library/Formula/sbcl.rb
@@ -1,9 +1,7 @@
-require "formula"
-
class Sbcl < Formula
homepage "http://www.sbcl.org/"
- url "https://downloads.sourceforge.net/project/sbcl/sbcl/1.2.2/sbcl-1.2.2-source.tar.bz2"
- sha1 "23449d376ac0b6112ad468adc11a5e521667d8fd"
+ url "https://downloads.sourceforge.net/project/sbcl/sbcl/1.2.9/sbcl-1.2.9-source.tar.bz2"
+ sha1 "788e38d4c64fa1f99a5297dce72e87f3958e98a1"
head "git://sbcl.git.sourceforge.net/gitroot/sbcl/sbcl.git"
@@ -77,7 +75,7 @@ class Sbcl < Formula
# Remove non-ASCII values from environment as they cause build failures
# More information: http://bugs.gentoo.org/show_bug.cgi?id=174702
- ENV.delete_if do |key, value|
+ ENV.delete_if do |_, value|
value =~ /[\x80-\xff]/n
end
@@ -96,15 +94,14 @@ class Sbcl < Formula
end
ENV["INSTALL_ROOT"] = prefix
- system "sh install.sh"
+ system "sh", "install.sh"
end
test do
- (testpath/'simple.sbcl').write <<-EOS.undent
+ (testpath/"simple.sbcl").write <<-EOS.undent
(write-line (write-to-string (+ 2 2)))
EOS
- output = `'#{bin}/sbcl' --script #{testpath}/simple.sbcl`
- assert_equal '4', output.strip
- assert_equal 0, $?.exitstatus
+ output = shell_output("#{bin}/sbcl --script #{testpath}/simple.sbcl")
+ assert_equal "4", output.strip
end
end