FreeBSD Bugzilla – Attachment 195705 Details for
Bug 230140
textproc/py-sphinx: Update to 1.8.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch
py-sphinx.patch (text/plain), 4.12 KB, created by
Yuri Victorovich
on 2018-07-31 22:57:07 UTC
(
hide
)
Description:
Updated patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2018-07-31 22:57:07 UTC
Size:
4.12 KB
patch
obsolete
>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 >+DISTVERSION= 1.7.6 > PORTEPOCH= 1 > CATEGORIES= textproc python > MASTER_SITES= CHEESESHOP >@@ -23,14 +22,15 @@ > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.3:devel/py-Jinja2@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}docutils>=0.11:textproc/py-docutils@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-websupport>=1.0.1:textproc/py-sphinxcontrib-websupport@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-websupport>0:textproc/py-sphinxcontrib-websupport@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pygments>=2.0:textproc/py-pygments@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=0.1:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}alabaster>=0.7:textproc/py-alabaster@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}snowballstemmer>=1.1:textproc/py-snowballstemmer@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}requests>=2.18.1:www/py-requests@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}imagesize>=0.7.1:graphics/py-imagesize@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}imagesize>0:graphics/py-imagesize@${PY_FLAVOR} \ > ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss > TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230140
:
195582
|
195705
|
199063