As per today (2012-09-23) pyqt.rb forumula seems outdated. It points to a PyQt-mac-gpl-4.9.4.tar.gz in http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/, but the site only hosts the snapshots of the next 4.9.5 release (PyQt-mac-gpl-snapshot-4.9.5-b007d37329a0.tar.gz). The required 4.9.4 is currently hosted in http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.9.4/PyQt-mac-gpl-4.9.4.tar.gz. Changing the link in the formula could not do the trick since the system complaints about having to deal with both an unknown sha1 and (if skipping this requirement) an unmanageable tar file.
The mac source tarball doesn't even exist at the sourceforge location, it just redirects to http://sourceforge.net/projects/pyqt/files/. (That is why the checksum appears to have changed; the downloaded file is actually an HTML document.)
Someone needs to ping upstream and let them know that the mac tarball is missing.
In the meantime till the formula is updated and/or the file restored at sourceforge or riverbank, I pointed to the macports tarball http://distfiles.macports.org/python/PyQt-mac-gpl-4.9.4.tar.gz. It seems to compile without problems.
It would be really, really nice if they would just open the Mercurial server to the public like they do with SIP. Then we could just download the archived tags and not worry about the URL breaking every couple of months.
Fixed in c516d27
pyqt: update tarball location
Signed-off-by: Jack Nagel <firstname.lastname@example.org>