aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-01-23 20:32:47 -0800
committerMike McQuaid2014-01-24 17:31:47 +0000
commit6ea4d0cb754f9f308828510617e0042ccfd98380 (patch)
tree49f26c4723e5399fb989323ff037564025eb7d7a /Library
parent212d66d217ad19570c2fc731a29ebc4b58a221bd (diff)
downloadhomebrew-6ea4d0cb754f9f308828510617e0042ccfd98380.tar.bz2
frescobaldi: cleanup python usage (again).
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/frescobaldi.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/frescobaldi.rb b/Library/Formula/frescobaldi.rb
index fe44fc924..444539ea8 100644
--- a/Library/Formula/frescobaldi.rb
+++ b/Library/Formula/frescobaldi.rb
@@ -8,7 +8,7 @@ class Frescobaldi < Formula
option "without-launcher", "Don't build Mac .app launcher"
option "without-lilypond", "Don't install Lilypond"
- depends_on :python2
+ depends_on :python
depends_on "portmidi" => :recommended
depends_on "lilypond" => :recommended
depends_on "platypus" => :build if build.with? "launcher"
@@ -24,13 +24,11 @@ class Frescobaldi < Formula
end
def install
- python do
- resource("python-poppler-qt4").stage do
- system "python", "setup.py", "build"
- system "python", "setup.py", "install"
- end
- system "python", "setup.py", "install", "--prefix=#{prefix}"
+ resource("python-poppler-qt4").stage do
+ system "python", "setup.py", "build"
+ system "python", "setup.py", "install"
end
+ system "python", "setup.py", "install", "--prefix=#{prefix}"
if build.with? "launcher"
system "platypus", "-aFrescobaldi", "-oNone",
bin/"frescobaldi", bin/"Frescobaldi.app"