aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pyside.rb
diff options
context:
space:
mode:
authorTim D. Smith2014-12-12 21:23:31 -0800
committerTim D. Smith2014-12-13 11:49:21 -0800
commit8a6fece25e954f368cd3f4a7130531a7eeddfb71 (patch)
treecdbbf2581d26ae805a36a0331c95cf5c8efbb7dd /Library/Formula/pyside.rb
parent2b190c0c74d5e37d875ed08091cd425d2dcc52f0 (diff)
downloadhomebrew-8a6fece25e954f368cd3f4a7130531a7eeddfb71.tar.bz2
bottle pyside and shiboken against system Python
pyside and shiboken can be built against system Python and imported with Homebrew's Python; use `option "without-python"` instead of `depends_on :python` in order to bottle against system Python so we don't install Homebrew's python unnecessarily. Closes #34945.
Diffstat (limited to 'Library/Formula/pyside.rb')
-rw-r--r--Library/Formula/pyside.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/pyside.rb b/Library/Formula/pyside.rb
index f971287c1..dc2d08ee2 100644
--- a/Library/Formula/pyside.rb
+++ b/Library/Formula/pyside.rb
@@ -8,7 +8,9 @@ class Pyside < Formula
head 'git://gitorious.org/pyside/pyside.git'
- depends_on :python => :recommended
+ # don't use depends_on :python because then bottles install Homebrew's python
+ option "without-python", "Build without python 2 support"
+ depends_on :python => :recommended if MacOS.version <= :snow_leopard
depends_on :python3 => :optional
option "without-docs", "Skip building documentation"