Date: Sun, 26 Apr 2020 11:59:42 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533055 - in head/textproc/py-sphinxcontrib-adadomain: . files Message-ID: <202004261159.03QBxgCc032326@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Apr 26 11:59:42 2020 New Revision: 533055 URL: https://svnweb.freebsd.org/changeset/ports/533055 Log: Fix build with py-sphinx 1.8/3.0 - Bump PORTREVISION for package change PR: 245750 Submitted by: dbaio Obtained from: https://bitbucket.org/tkoskine/sphinxcontrib-adadomain/commits/0adaafc635791511af623027bd2cf57375763a27 Added: head/textproc/py-sphinxcontrib-adadomain/files/ head/textproc/py-sphinxcontrib-adadomain/files/patch-setup.py (contents, props changed) head/textproc/py-sphinxcontrib-adadomain/files/patch-sphinxcontrib-adadomain.py (contents, props changed) Modified: head/textproc/py-sphinxcontrib-adadomain/Makefile Modified: head/textproc/py-sphinxcontrib-adadomain/Makefile ============================================================================== --- head/textproc/py-sphinxcontrib-adadomain/Makefile Sun Apr 26 11:59:37 2020 (r533054) +++ head/textproc/py-sphinxcontrib-adadomain/Makefile Sun Apr 26 11:59:42 2020 (r533055) @@ -3,6 +3,7 @@ PORTNAME= sphinxcontrib-adadomain PORTVERSION= 0.2 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Added: head/textproc/py-sphinxcontrib-adadomain/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-sphinxcontrib-adadomain/files/patch-setup.py Sun Apr 26 11:59:42 2020 (r533055) @@ -0,0 +1,13 @@ +Obtained from: https://bitbucket.org/tkoskine/sphinxcontrib-adadomain/commits/0adaafc635791511af623027bd2cf57375763a27 + +--- setup.py.orig 2018-01-19 18:39:44 UTC ++++ setup.py +@@ -12,7 +12,7 @@ This package contains the adadomain Sphinx extension. + + ''' + +-requires = ['Sphinx>=1.0'] ++requires = ['Sphinx>=1.4'] + + with open(path.join(here, 'README.rst'), encoding='utf-8') as f: + long_description = f.read() Added: head/textproc/py-sphinxcontrib-adadomain/files/patch-sphinxcontrib-adadomain.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-sphinxcontrib-adadomain/files/patch-sphinxcontrib-adadomain.py Sun Apr 26 11:59:42 2020 (r533055) @@ -0,0 +1,44 @@ +Obtained from: https://bitbucket.org/tkoskine/sphinxcontrib-adadomain/commits/0adaafc635791511af623027bd2cf57375763a27 + +--- sphinxcontrib/adadomain.py.orig 2018-01-19 17:53:22 UTC ++++ sphinxcontrib/adadomain.py +@@ -18,13 +18,13 @@ import string + + from docutils import nodes + from docutils.parsers.rst import directives ++from docutils.parsers.rst import Directive + +-from sphinx import addnodes ++from sphinx import addnodes, version_info + from sphinx.roles import XRefRole + from sphinx.locale import l_, _ + from sphinx.directives import ObjectDescription + from sphinx.domains import Domain, ObjType, Index +-from sphinx.util.compat import Directive + from sphinx.util.nodes import make_refnode + from sphinx.util.docfields import Field, TypedField + +@@ -269,12 +269,12 @@ class AdaObject(ObjectDescription): + + indextext = self._get_index_text(name) + if indextext: +- self.indexnode['entries'].append(('single', indextext, name, name)) ++ self.indexnode['entries'].append(('single', indextext, name, name, None)) + + plain_name = pieces[-1] + indextext = self._get_index_text(plain_name) + if indextext: +- self.indexnode['entries'].append(('single', indextext, name, plain_name)) ++ self.indexnode['entries'].append(('single', indextext, name, plain_name, None)) + + + class AdaModule(Directive): +@@ -316,7 +316,7 @@ class AdaModule(Directive): + if not noindex: + indextext = _('%s (module)') % modname + inode = addnodes.index(entries=[('single', indextext, +- 'module-' + modname, modname)]) ++ 'module-' + modname, modname, None)]) + ret.append(inode) + return ret +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004261159.03QBxgCc032326>