MFH: r421590
textproc/py-cloud_sptheme: unbreak after r415071 PR: 212496 Submitted by: w.schwarzenfeld@utanet.at Approved by: ports-secteam blanket
This commit is contained in:
parent
0fb6e59cca
commit
fb882d8be7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2016Q3/; revision=421592
2 changed files with 15 additions and 3 deletions
|
@ -14,11 +14,9 @@ COMMENT= Sphinx theme
|
|||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1:textproc/py-sphinx
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
BROKEN= does not build
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
PYDISTUTILS_BUILDARGS= build_sphinx -E
|
||||
|
|
14
textproc/py-cloud_sptheme/files/patch-index__styling.py
Normal file
14
textproc/py-cloud_sptheme/files/patch-index__styling.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- cloud_sptheme/ext/index_styling.py.orig 2016-09-08 20:32:45 UTC
|
||||
+++ cloud_sptheme/ext/index_styling.py
|
||||
@@ -49,8 +49,9 @@ def mangle_index(app, pagename, template
|
||||
fmt = format_index_name
|
||||
for key, entries in ctx['genindexentries']:
|
||||
for idx, entry in enumerate(entries):
|
||||
- name, (links, subitems) = entry
|
||||
- entries[idx] = fmt(name), (links, subitems)
|
||||
+ name, data = entry
|
||||
+ entries[idx] = fmt(name), data
|
||||
+ subitems = data[1]
|
||||
for idx, entry in enumerate(subitems):
|
||||
name, links = entry
|
||||
subitems[idx] = fmt(name), links
|
Loading…
Reference in a new issue