aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorblogabe2014-04-02 16:46:51 -0700
committerJack Nagel2014-04-02 20:43:16 -0500
commitd07ecc18c7db2768308fa6878c73429bb131fad6 (patch)
treeab3da3fbe87a9efd952089b4455d3f3a8d2469a7 /Library
parent3cef191c979622bd938b15353a68394c08fda214 (diff)
downloadhomebrew-d07ecc18c7db2768308fa6878c73429bb131fad6.tar.bz2
pygtk: modernize optional dependency
Closes #28092. Note from Jack: I know renaming an option is bad form, but my gut says this is a little-used option and it's worth changing to fix the cases where it is causing breakage. See https://github.com/Homebrew/homebrew/issues/27485 for background. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pygtk.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/pygtk.rb b/Library/Formula/pygtk.rb
index 0c413c5c4..6b8e5a8af 100644
--- a/Library/Formula/pygtk.rb
+++ b/Library/Formula/pygtk.rb
@@ -12,10 +12,9 @@ class Pygtk < Formula
depends_on 'atk'
depends_on 'pygobject'
depends_on 'py2cairo'
- depends_on 'libglade' if build.include? 'glade'
+ depends_on 'libglade' => :optional
option :universal
- option 'glade', 'Python bindigs for glade. (to `import gtk.glade`)'
def install
ENV.append 'CFLAGS', '-ObjC'