diff options
| author | Jack Nagel | 2014-03-20 14:05:18 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-03-20 21:44:12 -0500 | 
| commit | afe09084bec31ca8d6d20a439b3493f4dd89a68e (patch) | |
| tree | 9bd875a3d49469e5cd2cb4830992fbda6c4a6d6f | |
| parent | a8b663f3cff343b0af07609eb18bc38740001045 (diff) | |
| download | homebrew-afe09084bec31ca8d6d20a439b3493f4dd89a68e.tar.bz2 | |
pyside: use patch DSL
| -rw-r--r-- | Library/Formula/pyside.rb | 6 | 
1 files changed, 2 insertions, 4 deletions
| 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 | 
