diff options
| author | Dominyk Tiller | 2015-02-03 04:59:42 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-03 08:31:53 +0000 |
| commit | d454deaf27120494221fe686c8ab342f6932266b (patch) | |
| tree | b65fbf2bb1825aacd59d0146a5333ddf35c011de /Library/Formula | |
| parent | 8a0a93cfa1d926e5cf32ccead66a402f805d3480 (diff) | |
| download | homebrew-d454deaf27120494221fe686c8ab342f6932266b.tar.bz2 | |
pyside: fix url
The homepage moved to where it actually auto-redirects to. The URL on
this formula is actually dead, as the former QT SSL/TLS link now has a
certificate error and users will just run headlong into SSL failures
trying to use it. Otherwise, just strict audit failures fixed.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pyside.rb | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/Library/Formula/pyside.rb b/Library/Formula/pyside.rb index a042d7113..36e1c5b2a 100644 --- a/Library/Formula/pyside.rb +++ b/Library/Formula/pyside.rb @@ -1,12 +1,10 @@ -require 'formula' - class Pyside < Formula - homepage 'http://www.pyside.org' - url 'https://download.qt-project.org/official_releases/pyside/pyside-qt4.8+1.2.2.tar.bz2' - mirror 'https://distfiles.macports.org/py-pyside/pyside-qt4.8+1.2.2.tar.bz2' - sha1 '955e32d193d173faa64edc51111289cdcbe3b96e' + homepage "http://qt-project.org/wiki/PySide" + url "https://download.qt.io/official_releases/pyside/pyside-qt4.8+1.2.2.tar.bz2" + mirror "https://distfiles.macports.org/py-pyside/pyside-qt4.8+1.2.2.tar.bz2" + sha1 "955e32d193d173faa64edc51111289cdcbe3b96e" - head 'git://gitorious.org/pyside/pyside.git' + head "https://gitorious.org/pyside/pyside.git" bottle do sha1 "8137d4ab768f0b621c76f3e8f51aff9594527b7a" => :yosemite @@ -21,29 +19,27 @@ class Pyside < Formula option "without-docs", "Skip building documentation" - depends_on 'cmake' => :build - depends_on 'qt' + depends_on "cmake" => :build + depends_on "qt" - if build.with? 'python3' - depends_on 'shiboken' => 'with-python3' + if build.with? "python3" + depends_on "shiboken" => "with-python3" else - depends_on 'shiboken' + depends_on "shiboken" end - resource 'sphinx' do - url 'https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.2.tar.gz' - sha1 '9e424b03fe1f68e0326f3905738adcf27782f677' + resource "sphinx" do + url "https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.3.tar.gz" + sha1 "3a11f130c63b057532ca37fe49c8967d0cbae1d5" end def install if build.with? "docs" - (buildpath/"sphinx").mkpath - - resource("sphinx").stage do - system "python", "setup.py", "install", - "--prefix=#{buildpath}/sphinx", - "--record=installed.txt", - "--single-version-externally-managed" + ENV.prepend_create_path "PYTHONPATH", buildpath+"sphinx/lib/python2.7/site-packages" + resources.each do |r| + r.stage do + system "python", *Language::Python.setup_install_args(buildpath/"sphinx") + end end ENV.prepend_path "PATH", (buildpath/"sphinx/bin") |
