aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/diffuse.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/diffuse.rb')
-rw-r--r--Library/Formula/diffuse.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/diffuse.rb b/Library/Formula/diffuse.rb
index 0ae1d474b..bcc889eb4 100644
--- a/Library/Formula/diffuse.rb
+++ b/Library/Formula/diffuse.rb
@@ -5,13 +5,16 @@ class Diffuse < Formula
url 'http://downloads.sourceforge.net/project/diffuse/diffuse/0.4.7/diffuse-0.4.7.tar.bz2'
sha1 '9e3b906b579495027b76dc723b5df28e400d3f26'
+ depends_on :python
depends_on 'pygtk'
def install
- system "python", "./install.py",
+ python do
+ system python, "./install.py",
"--sysconfdir=#{etc}",
"--examplesdir=#{share}",
"--prefix=#{prefix}"
+ end
end
def test