From 69334fa6b19e78fd1de9b823668e43ca82db3fd3 Mon Sep 17 00:00:00 2001 From: Nik Cubrilovic Date: Mon, 12 Aug 2013 00:25:12 +1000 Subject: namebench 1.3.1 Closes #21818. Signed-off-by: Adam Vandenberg --- Library/Formula/namebench.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Library/Formula/namebench.rb (limited to 'Library/Formula') diff --git a/Library/Formula/namebench.rb b/Library/Formula/namebench.rb new file mode 100644 index 000000000..5de200063 --- /dev/null +++ b/Library/Formula/namebench.rb @@ -0,0 +1,22 @@ +require 'formula' + +class Namebench < Formula + homepage 'https://code.google.com/p/namebench/' + url 'https://namebench.googlecode.com/files/namebench-1.3.1-source.tgz' + sha1 '2e6ca5a4f20512cb967c5ac43b023cc38c271131' + + depends_on :python + + option 'no-third-party', 'Do not install bundled third-party modules' + + def install + ENV['NO_THIRD_PARTY']='1' if build.include?('no-third-party') + + python do + system python, "setup.py", "install", "--prefix=#{prefix}", + "--install-data=#{python.site_packages}" + end + + bin.install bin/'namebench.py' => 'namebench' + end +end -- cgit v1.2.3