gentoo/dev-python/sphinx/files/sphinx-1.5.1-fix-pycode-grammar.patch
David Seifert daa8cfe0a3
dev-python/sphinx: Version bump to 1.5.1
Gentoo-bug: 579106
* EAPI=6
* Basis for ebuild by Brian Dolbec (dol-sen)

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3371
2017-01-19 01:48:46 +01:00

15 lines
525 B
Diff

environment.py has been turned into a directory,
without actually porting the code using it.
--- a/sphinx/pycode/__init__.py
+++ b/sphinx/pycode/__init__.py
@@ -352,7 +352,7 @@
import pprint
x0 = time.time()
# ma = ModuleAnalyzer.for_file(__file__.rstrip('c'), 'sphinx.builders.html')
- ma = ModuleAnalyzer.for_file('sphinx/environment.py',
+ ma = ModuleAnalyzer.for_file('sphinx/environment/__init__.py',
'sphinx.environment')
ma.tokenize()
x1 = time.time()