sphinx-doc 1.7.4

Closes #27100.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
JCount 2018-04-25 15:41:50 -04:00 committed by FX Coudert
parent 8cea80cfc7
commit 7c0842f6e7

View file

@ -1,9 +1,8 @@
class SphinxDoc < Formula
desc "Tool to create intelligent and beautiful documentation"
homepage "http://sphinx-doc.org"
url "https://files.pythonhosted.org/packages/ff/bd/a709626705bb1f13b86904f6caaf53e3d088cbf2919b678296ce11fd646c/Sphinx-1.7.3.tar.gz"
sha256 "9495a1f78c13d0a725ab8104e923e9663519ecc04552aa4a8f684c2da355443d"
revision 1
url "https://files.pythonhosted.org/packages/40/45/d4a68a1f8dc669714f48d251afb4352036f87be5e9873cd27e57b9c141f0/Sphinx-1.7.4.tar.gz"
sha256 "e9b1a75a3eae05dded19c80eb17325be675e0698975baae976df603b6ed1eb10"
bottle do
cellar :any_skip_relocation
@ -125,13 +124,6 @@ class SphinxDoc < Formula
sha256 "cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f"
end
# Remove for > 1.7.3
# Upstream commit from 23 Apr 2018: "'DirectiveAdapter' object has no attribute 'env'"
patch do
url "https://github.com/sphinx-doc/sphinx/commit/3735ba39db51ee429344f88b8201cc3ac37496f4.diff?full_index=1"
sha256 "84559785c7a0b6df040f5c05904c25036714840e38ff14cc023ca27521393d38"
end
def install
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"
resources.each do |r|