git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.sphinx: 1.3.1 -> 1.3.4

Mainly bugfixes. Far too many to summarise here: http://www.sphinx-doc.org/en/stable/changes.html#release-1-3-4-released-jan-12-2016

commit67c487f243fd6ae6b734507a186104764b632211 authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateThu 21 Jan 2016, 01:40 (11 years ago) parent313faf0
2 files changed+2−38
pkgs/development/python-modules/sphinx-1.3.1-pr-1946.patch−35 pkgs/top-level/python-packages.nix+2−3
pkgs/development/python-modules/sphinx-1.3.1-pr-1946.patchdeleted−35
@@ -1,35 +0,0 @@
1−From 7ce3b991229c74262f81ab7692a1dc6bde2416ee Mon Sep 17 00:00:00 2001
2−From: Barry Warsaw <barry@python.org>
3−Date: Thu, 25 Jun 2015 11:54:05 -0400
4−Subject: [PATCH] One way to work around the lack of
5− html.parser.HTMLParserError in Python 3.5
6−
7−---
8− sphinx/builders/linkcheck.py | 12 +++++++++++-
9− 1 file changed, 11 insertions(+), 1 deletion(-)
10−
11−diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py
12−index 9f5c213..b05c5b2 100644
13−--- a/sphinx/builders/linkcheck.py
14−+++ b/sphinx/builders/linkcheck.py
15−@@ -19,9 +19,19 @@
16− from six.moves.urllib.request import build_opener, Request, HTTPRedirectHandler
17− from six.moves.urllib.parse import unquote, urlsplit, quote
18− from six.moves.urllib.error import HTTPError
19−-from six.moves.html_parser import HTMLParser, HTMLParseError
20−+from six.moves.html_parser import HTMLParser
21− from docutils import nodes
22−
23−+# 2015-06-25 barry@python.org. This exception was deprecated in Python 3.3 and
24−+# removed in Python 3.5, however for backward compatibility reasons, we're not
25−+# going to just remove it. If it doesn't exist, define an exception that will
26−+# never be caught but leaves the code in check_anchor() intact.
27−+try:
28−+ from six.moves.html_parser import HTMLParseError
29−+except ImportError:
30−+ class HTMLParseError(Exception):
31−+ pass
32−+
33− from sphinx.builders import Builder
34− from sphinx.util.console import purple, red, darkgreen, darkgray, \
35− darkred, turquoise
pkgs/top-level/python-packages.nix+2−3
@@ -18903,14 +18903,13 @@ in modules // {
1890318903
1890418904
1890518905 sphinx = buildPythonPackage (rec {
18906− name = "Sphinx-1.3.1";
18906+ name = "Sphinx-1.3.4";
1890718907
1890818908 src = pkgs.fetchurl {
1890918909 url = "http://pypi.python.org/packages/source/S/Sphinx/${name}.tar.gz";
18910− sha256 = "052i5c7cgvs5iv011dkq3r8d6jycg2gjjg3907ijsbdlq8q52vhs";
18910+ sha256 = "0mw06q7bzzjylgwh0wnnaxmwc95hx8w95as4vcgpan579brw7b4a";
1891118911 };
1891218912
18913− patches = [ ../development/python-modules/sphinx-1.3.1-pr-1946.patch ];
1891418913 LC_ALL = "en_US.UTF-8";
1891518914 checkPhase = ''
1891618915 PYTHON=${python.executable} make test