aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-01-04 13:14:15 +0000
committerMike McQuaid2014-01-04 13:35:46 +0000
commitc1955008c6643c3343be9706c0da4770c485795c (patch)
treefba471dcb224301c382cdb8c26c7d9fcbe203d6e /Library
parentd41f8799706d4a19eee31f411ba2bff4e13654ea (diff)
downloadhomebrew-c1955008c6643c3343be9706c0da4770c485795c.tar.bz2
pygtksourceview: cleanup python usage.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pygtksourceview.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Formula/pygtksourceview.rb b/Library/Formula/pygtksourceview.rb
index fe8de6245..06bc0844a 100644
--- a/Library/Formula/pygtksourceview.rb
+++ b/Library/Formula/pygtksourceview.rb
@@ -6,7 +6,6 @@ class Pygtksourceview < Formula
sha256 'bfdde2ce4f61d461fb34dece9433cf81a73a9c9de6b62d4eb06177b8c9cec9c7'
depends_on 'pkg-config' => :build
- depends_on :python
depends_on 'gtksourceview'
depends_on 'pygtk'
@@ -17,13 +16,7 @@ class Pygtksourceview < Formula
system "make install"
end
- def caveats
- python.standard_caveats if python
- end
-
test do
- python do
- system python, "-c", "import gtksourceview2"
- end
+ system "python", "-c", "import gtksourceview2"
end
end