2009-10-17 14:06:17 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jython < Formula
|
2012-02-12 22:37:41 +00:00
|
|
|
homepage 'http://www.jython.org'
|
2013-01-03 05:55:17 +00:00
|
|
|
url "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.5.3/jython-installer-2.5.3.jar"
|
|
|
|
sha1 '6b6ac4354733b6d68d51acf2f3d5c823a10a4ce4'
|
2011-01-14 16:52:44 +00:00
|
|
|
|
2012-04-30 03:02:59 +00:00
|
|
|
devel do
|
2013-03-18 09:45:43 +00:00
|
|
|
url "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7-b1/jython-installer-2.7-b1.jar"
|
|
|
|
sha1 '385a52a8a3c5d941d61a7b2ed76e8a351b3658f2'
|
2012-04-30 03:02:59 +00:00
|
|
|
end
|
|
|
|
|
2009-10-17 14:06:17 +00:00
|
|
|
def install
|
2013-01-03 05:55:17 +00:00
|
|
|
system "java", "-jar", cached_download, "-s", "-d", libexec
|
2012-05-19 12:08:21 +00:00
|
|
|
bin.install_symlink libexec/'bin/jython'
|
2009-10-17 14:06:17 +00:00
|
|
|
end
|
|
|
|
end
|