diff options
| author | Adam Vandenberg | 2009-12-01 12:01:29 -0800 |
|---|---|---|
| committer | Max Howell | 2009-12-12 16:24:16 +0000 |
| commit | b84b3e031c6ab9154476b92d3be3a1497f108e70 (patch) | |
| tree | 31edd138acd57d8f87765d034e3d6b8af9d43499 /Library/Formula/jython.rb | |
| parent | d3af24a8877ef5414e2fa9fa72585910d75611e8 (diff) | |
| download | homebrew-b84b3e031c6ab9154476b92d3be3a1497f108e70.tar.bz2 | |
Use extracted download strategy.
Diffstat (limited to 'Library/Formula/jython.rb')
| -rw-r--r-- | Library/Formula/jython.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Formula/jython.rb b/Library/Formula/jython.rb index e3844002f..c7d8190a6 100644 --- a/Library/Formula/jython.rb +++ b/Library/Formula/jython.rb @@ -1,19 +1,12 @@ require 'formula' -# even though "file -b" reports this as a zip archive, it's just a binary -class JythonHttpDownloadStrategy <CurlDownloadStrategy - def stage - FileUtils.mv @dl, File.basename(@url) - end -end - class Jython <Formula url 'http://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar' homepage 'http://www.jython.org' md5 '2ee978eff4306b23753b3fe9d7af5b37' def download_strategy - JythonHttpDownloadStrategy + NoUnzipCurlDownloadStrategy # Don't unzip jar. end def install |
