homebrew-core/Formula/jython.rb

18 lines
567 B
Ruby
Raw Normal View History

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'
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
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
def install
system "java", "-jar", cached_download, "-s", "-d", libexec
bin.install_symlink libexec/'bin/jython'
end
end