diff options
| author | Mike McQuaid | 2014-01-04 13:02:36 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:19:20 +0000 |
| commit | eb562f49997c5ec65ca92d8d2cc4335c357e91c1 (patch) | |
| tree | ad4df728bdc3f827e432c25c5bf2eab78a263167 /Library | |
| parent | c50323548d22aa649de2b8cf236d350816b536a4 (diff) | |
| download | homebrew-eb562f49997c5ec65ca92d8d2cc4335c357e91c1.tar.bz2 | |
bulk_extractor: cleanup python usage.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/bulk_extractor.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Library/Formula/bulk_extractor.rb b/Library/Formula/bulk_extractor.rb index 75776b638..feefc68d1 100644 --- a/Library/Formula/bulk_extractor.rb +++ b/Library/Formula/bulk_extractor.rb @@ -7,7 +7,6 @@ class BulkExtractor < Formula depends_on :autoconf depends_on :automake - depends_on :python depends_on 'afflib' => :optional depends_on 'exiv2' => :optional @@ -20,7 +19,6 @@ class BulkExtractor < Formula end def install - system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" @@ -29,16 +27,10 @@ class BulkExtractor < Formula # Install documentation (share/'bulk_extractor/doc').install Dir['doc/*.{html,txt,pdf}'] - python do - (lib/python.xy/"site-packages").install Dir['python/*.py'] - end + (lib/'python2.7/site-packages').install Dir['python/*.py'] # Install the GUI the Homebrew way libexec.install 'java_gui/BEViewer.jar' bin.write_jar_script libexec/"BEViewer.jar", "BEViewer", "-Xmx1g" end - - def caveats - python.standard_caveats if python - end end |
