mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
textproc/py-cloud_sptheme: unbreak after r415071
PR: 212496 Submitted by: w.schwarzenfeld@utanet.at
This commit is contained in:
parent
6dd387788b
commit
f5dc4c7ad8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421590
@ -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 New Issue
Block a user