Index: textproc/py-sphinx/Makefile =================================================================== --- textproc/py-sphinx/Makefile (revision 474788) +++ textproc/py-sphinx/Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= sphinx -PORTVERSION= 1.6.5 -PORTREVISION= 1 +PORTVERSION= 1.7.6 PORTEPOCH= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP Index: textproc/py-sphinx/distinfo =================================================================== --- textproc/py-sphinx/distinfo (revision 474788) +++ textproc/py-sphinx/distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1514980036 -SHA256 (python/Sphinx-1.6.5.tar.gz) = c6de5dbdbb7a0d7d2757f4389cc00e8f6eb3c49e1772378967a12cfcf2cfe098 -SIZE (python/Sphinx-1.6.5.tar.gz) = 4680974 +TIMESTAMP = 1532844067 +SHA256 (python/Sphinx-1.7.6.tar.gz) = 217ad9ece2156ed9f8af12b5d2c82a499ddf2c70a33c5f81864a08d8c67b9efc +SIZE (python/Sphinx-1.7.6.tar.gz) = 4724123 Index: textproc/py-sphinx/files/patch-sphinx_writers_html.py =================================================================== --- textproc/py-sphinx/files/patch-sphinx_writers_html.py (revision 474788) +++ textproc/py-sphinx/files/patch-sphinx_writers_html.py (nonexistent) @@ -1,27 +0,0 @@ ---- sphinx/writers/html.py.orig 2016-10-01 15:14:37 UTC -+++ sphinx/writers/html.py -@@ -16,6 +16,7 @@ import copy - import warnings - - from six import string_types -+import docutils - from docutils import nodes - from docutils.writers.html4css1 import Writer, HTMLTranslator as BaseTranslator - -@@ -497,6 +498,16 @@ class HTMLTranslator(BaseTranslator): - if 'height' not in node: - node['height'] = str(size[1]) - BaseTranslator.visit_image(self, node) -+ -+ # overwritten -+ def depart_image(self, node): -+ if docutils.__version__ >= "0.13": -+ # since docutils-0.13, HTMLWriter does not push context data on visit_image() -+ if node['uri'].lower().endswith(('svg', 'svgz')): -+ self.body.append(self.context.pop()) -+ else: -+ # docutils-0.12 or below, HTML Writer always push context data on visit_image() -+ self.body.append(self.context.pop()) - - def visit_toctree(self, node): - # this only happens when formatting a toc from env.tocs -- in this Property changes on: textproc/py-sphinx/files/patch-sphinx_writers_html.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property