From afe09084bec31ca8d6d20a439b3493f4dd89a68e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 20 Mar 2014 14:05:18 -0500 Subject: pyside: use patch DSL --- Library/Formula/pyside.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/pyside.rb b/Library/Formula/pyside.rb index 5b2e9a046..54ae3b5f1 100644 --- a/Library/Formula/pyside.rb +++ b/Library/Formula/pyside.rb @@ -22,15 +22,13 @@ class Pyside < Formula depends_on 'shiboken' end - def patches - DATA # Fix moc_qpytextobject.cxx not found (https://codereview.qt-project.org/62479) - end - resource 'sphinx' do url 'https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.2.tar.gz' sha1 '9e424b03fe1f68e0326f3905738adcf27782f677' end + patch :DATA # Fix moc_qpytextobject.cxx not found (https://codereview.qt-project.org/62479) + def install if build.with? "docs" (buildpath/"sphinx").mkpath -- cgit v1.2.3