Bug 169264

Summary: [PATCH] textproc/py27-sphinx: update to 1.1.3
Product: Ports & Packages Reporter: Marcin Cieślak <saper>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: lwhsu
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
py27-sphinx-1.1.3.patch none

Description Marcin Cieślak 2012-06-20 13:20:09 UTC
- 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
Comment 1 Edwin Groothuis freebsd_committer 2012-06-20 13:20:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lwhsu

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2012-06-25 17:39:24 UTC
lwhsu       2012-06-25 16:39:14 UTC

  FreeBSD ports repository

  Modified files:
    textproc/py-sphinx   Makefile distinfo 
  Log:
  - Update to 1.1.3
  
  PR:             ports/169264
  Submitted by:   Marcin Cieslak <saper@saper.info>
  
  Revision  Changes    Path
  1.17      +1 -1      ports/textproc/py-sphinx/Makefile
  1.17      +2 -2      ports/textproc/py-sphinx/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Li-Wen Hsu freebsd_committer 2012-06-25 17:39:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!