aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jython.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-01-14 08:52:44 -0800
committerAdam Vandenberg2011-01-14 08:52:44 -0800
commitfb76ea0838cc534f91c175813591ab094f4a4918 (patch)
tree4d6d0c00f9f1f89b28681054786d185d0d7c4355 /Library/Formula/jython.rb
parent93a9e5b9388d530312c00def0efea07dac806cfd (diff)
downloadhomebrew-fb76ea0838cc534f91c175813591ab094f4a4918.tar.bz2
Update Jython HEAD to 2.5.2rc3
Diffstat (limited to 'Library/Formula/jython.rb')
-rw-r--r--Library/Formula/jython.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/jython.rb b/Library/Formula/jython.rb
index a079695ff..c06830123 100644
--- a/Library/Formula/jython.rb
+++ b/Library/Formula/jython.rb
@@ -3,11 +3,17 @@ require 'formula'
class Jython <Formula
url "http://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar",
:using => :nounzip
- md5 '2ee978eff4306b23753b3fe9d7af5b37'
homepage 'http://www.jython.org'
- head "http://downloads.sourceforge.net/project/jython/jython-dev/2.5.2b2/jython_installer-2.5.2b2.jar",
+
+ head "http://downloads.sourceforge.net/project/jython/jython-dev/2.5.2rc3/jython_installer-2.5.2rc3.jar",
:using => :nounzip
+ if ARGV.build_head?
+ sha1 '547c424a119661ed1901079ff8f4e45af7d57b56'
+ else
+ md5 '2ee978eff4306b23753b3fe9d7af5b37'
+ end
+
def install
system "java", "-jar", Pathname.new(@url).basename, "-s", "-d", libexec
bin.mkpath