aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSamuel John2013-08-08 12:21:19 +0200
committerSamuel John2013-08-08 12:22:50 +0200
commita91fef5c62ff30f400201f64e7b612838d68675c (patch)
treeb4e567107b131c34acb2050f5e1e354c6d36f179 /Library/Formula
parentb3811c48a90d65e4bd9cc7cbd6bcea7f6d60c5f7 (diff)
downloadhomebrew-a91fef5c62ff30f400201f64e7b612838d68675c.tar.bz2
pyside-tools: --HEAD
Also use `python.site_packages`.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pyside-tools.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/pyside-tools.rb b/Library/Formula/pyside-tools.rb
index 5918ba2dd..cd11b75b8 100644
--- a/Library/Formula/pyside-tools.rb
+++ b/Library/Formula/pyside-tools.rb
@@ -5,6 +5,8 @@ class PysideTools < Formula
url 'http://qt-project.org/uploads/pyside/pyside-tools-0.2.14.tar.bz2'
sha1 'f654553bc9bfb35dbc5673da26830969393f9fe8'
+ head 'git://gitorious.org/pyside/pyside-tools.git'
+
depends_on 'cmake' => :build
depends_on :python => :recommended
depends_on :python3 => :optional
@@ -13,7 +15,7 @@ class PysideTools < Formula
def install
python do
args = std_cmake_args
- args << "-DSITE_PACKAGE=#{lib}/#{python.xy}/site-packages"
+ args << "-DSITE_PACKAGE=#{python.site_packages}"
# The next two lines are because pyside needs this to switch Python
# versions in HOMEBREW_PREFIX/lib/cmake/PySide-X.Y.Z/PySideConfig.cmake
args << "-DPYTHON_BASENAME=-python2.7" if python2