jython 2.5.2

This commit is contained in:
Adam Vandenberg 2011-03-03 13:08:39 -08:00
parent 485c59d5d4
commit 8a0838d58c

View file

@ -1,18 +1,10 @@
require 'formula'
class Jython <Formula
url "http://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar",
url "http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar",
:using => :nounzip
homepage 'http://www.jython.org'
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
sha1 'd4534a691edf40aa1d51723dfe3e22db1e39b432'
def install
system "java", "-jar", Pathname.new(@url).basename, "-s", "-d", libexec