2011-03-10 05:11:03 +00:00
|
|
|
class Jython < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Python implementation written in Java (successor to JPython)"
|
2015-05-02 00:45:45 +00:00
|
|
|
homepage "http://www.jython.org"
|
2015-05-05 09:03:15 +00:00
|
|
|
url "https://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.0/jython-installer-2.7.0.jar"
|
|
|
|
sha256 "b44352ece72382268a60e2848741c96609a91d796bb9a9c6ebeff62f0c12c9cf"
|
2012-04-30 03:02:59 +00:00
|
|
|
|
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
|
2015-05-02 00:45:45 +00:00
|
|
|
bin.install_symlink libexec/"bin/jython"
|
2009-10-17 14:06:17 +00:00
|
|
|
end
|
|
|
|
end
|