Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2012 12:09:05 GMT
From:      Marcin Cieslak <saper@saper.info>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lwhsu@FreeBSD.org
Subject:   ports/169264: [PATCH] textproc/py27-sphinx: update to 1.1.3
Message-ID:  <201206201209.q5KC95mQ074858@radziecki.saper.info>
Resent-Message-ID: <201206201220.q5KCKABR087811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169264
>Category:       ports
>Synopsis:       [PATCH] textproc/py27-sphinx: update to 1.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 20 12:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Cieslak
>Release:        FreeBSD 9.0-BETA1 amd64
>Organization:
http://saper.info
>Environment:
System: FreeBSD radziecki.saper.info 9.0-BETA1 FreeBSD 9.0-BETA1 #2 r224912M: Tue Aug 16 23:05:15 CEST
>Description:
- Update to 1.1.3

This is necessary to avoid compatibility problems with docutils 0.9,
such as issue #889 Reporter instance has no attribute 'locator'.

# Sphinx version: 1.1.2
# Python version: 2.7.1
# Docutils version: 0.9 release
# Jinja2 version: 2.6
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/cmdline.py", line 189, in main
    app.build(force_all, filenames)
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/application.py", line 204, in build
    self.builder.build_update()
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/builders/__init__.py", line 196, in build_update
    'out of date' % len(to_build))
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/builders/__init__.py", line 216, in build
    purple, length):
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/builders/__init__.py", line 120, in status_iterator
    for item in iterable:
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/environment.py", line 613, in update_generator
    self.read_doc(docname, app=app)
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/environment.py", line 761, in read_doc
    pub.publish()
  File "/usr/local/lib/python2.7/site-packages/docutils/core.py", line 221, in publish
    self.settings)
  File "/usr/local/lib/python2.7/site-packages/docutils/readers/__init__.py", line 69, in read
    self.parse()
  File "/usr/local/lib/python2.7/site-packages/docutils/readers/__init__.py", line 75, in parse
    self.parser.parse(self.input, document)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/__init__.py", line 162, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 174, in run
    input_source=document['source'])
  File "/usr/local/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/usr/local/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2706, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 331, in section
    self.new_subsection(title, lineno, messages)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 399, in new_subsection
    node=section_node, match_titles=True)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 286, in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 199, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/local/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/usr/local/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2720, in text
    paragraph, literalnext = self.paragraph(lines, startline)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 422, in paragraph
    textnodes, messages = self.inline_text(text, lineno)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 431, in inline_text
    return self.inliner.parse(text, lineno, self.memo, self.parent)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 517, in parse
    lineno)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 779, in interpreted_or_phrase_ref
    lineno)
  File "/usr/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 836, in interpreted
    nodes, messages2 = role_fn(role, rawsource, text, lineno, self)
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/roles.py", line 130, in __call__
    set_role_source_info(inliner, lineno, refnode)
  File "/usr/local/lib/python2.7/site-packages/Sphinx-1.1.2-py2.7.egg/sphinx/util/nodes.py", line 183, in set_role_source_info
    inliner.reporter.locator(lineno)
AttributeError: Reporter instance has no attribute 'locator'
Port maintainer (lwhsu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- py27-sphinx-1.1.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/py-sphinx.orig/Makefile /usr/ports/textproc/py-sphinx/Makefile
--- /usr/ports/textproc/py-sphinx.orig/Makefile	2012-06-20 14:01:53.000000000 +0200
+++ /usr/ports/textproc/py-sphinx/Makefile	2012-06-20 14:02:33.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	sphinx
-PORTVERSION=	1.1.2
+PORTVERSION=	1.1.3
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff -ruN --exclude=CVS /usr/ports/textproc/py-sphinx.orig/distinfo /usr/ports/textproc/py-sphinx/distinfo
--- /usr/ports/textproc/py-sphinx.orig/distinfo	2012-06-20 14:01:53.000000000 +0200
+++ /usr/ports/textproc/py-sphinx/distinfo	2012-06-20 14:02:53.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (python/Sphinx-1.1.2.tar.gz) = cf66ee61eef61b7c478907282bddcdd5e04eebd69a00a2bb93881427938fe688
-SIZE (python/Sphinx-1.1.2.tar.gz) = 2624636
+SHA256 (python/Sphinx-1.1.3.tar.gz) = 34dc95b70a2b07a61b5d61034c34b05f82514aab54ad27adedb49cee911bb8e9
+SIZE (python/Sphinx-1.1.3.tar.gz) = 2632059
--- py27-sphinx-1.1.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206201209.q5KC95mQ074858>