svn commit: r421590 - in head/textproc/py-cloud_sptheme: . files

Jan Beich jbeich at FreeBSD.org
Thu Sep 8 23:37:24 UTC 2016


Author: jbeich
Date: Thu Sep  8 23:37:23 2016
New Revision: 421590
URL: https://svnweb.freebsd.org/changeset/ports/421590

Log:
  textproc/py-cloud_sptheme: unbreak after r415071
  
  PR:		212496
  Submitted by:	w.schwarzenfeld at utanet.at

Added:
  head/textproc/py-cloud_sptheme/files/
  head/textproc/py-cloud_sptheme/files/patch-index__styling.py   (contents, props changed)
Modified:
  head/textproc/py-cloud_sptheme/Makefile   (contents, props changed)

Modified: head/textproc/py-cloud_sptheme/Makefile
==============================================================================
--- head/textproc/py-cloud_sptheme/Makefile	Thu Sep  8 22:11:05 2016	(r421589)
+++ head/textproc/py-cloud_sptheme/Makefile	Thu Sep  8 23:37:23 2016	(r421590)
@@ -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

Added: head/textproc/py-cloud_sptheme/files/patch-index__styling.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-cloud_sptheme/files/patch-index__styling.py	Thu Sep  8 23:37:23 2016	(r421590)
@@ -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


More information about the svn-ports-all mailing list