Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 511414 Details for
Bug 634730
dev-python/psycopg-2.7.3 will not build: Could not import extension dbapi_extension (exception: cannot import name 'make_admonition')
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
psycopq-2.7.3-Sphinx-1.6.patch
psycopg-2.7.3-Sphinx-1.6.patch (text/plain), 1.14 KB, created by
Ervin Peters
on 2017-12-21 18:46:12 UTC
(
hide
)
Description:
psycopq-2.7.3-Sphinx-1.6.patch
Filename:
MIME Type:
Creator:
Ervin Peters
Created:
2017-12-21 18:46:12 UTC
Size:
1.14 KB
patch
obsolete
>--- psycopg-2.7.3.2/doc/src/tools/lib/dbapi_extension.py 2016-04-10 08:48:37.000000000 +0200 >+++ psycopg-2.7.3.2/doc/src/tools/lib/dbapi_extension.py 2017-12-20 22:14:19.097225121 +0100 >@@ -12,7 +12,7 @@ > from docutils import nodes > > from sphinx.locale import _ >-from sphinx.util.compat import Directive, make_admonition >+from docutils.parsers.rst import Directive > > class extension_node(nodes.Admonition, nodes.Element): pass > >@@ -29,12 +29,11 @@ class Extension(Directive): > option_spec = {} > > def run(self): >- nodes = make_admonition(extension_node, >- self.name, [_('DB API extension')], self.options, >- self.content, self.lineno, self.content_offset, >- self.block_text, self.state, self.state_machine) >- nodes[0]['classes'].append('dbapi-extension') >- return nodes >+ node = extension_node('\n'.join(self.content)) >+ node += nodes.title(_('DB API extension'), _('DB API extension')) >+ self.state.nested_parse(self.content, self.content_offset, node) >+ node['classes'].append('dbapi-extension') >+ return [node] > > > def visit_extension_node(self, node):
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 634730
:
499222
|
499224
| 511414 |
511416