dev-python/pygments: Backport python3.7 generator fix

This commit is contained in:
Michał Górny
2018-07-13 00:06:43 +02:00
parent 5ad41de8dc
commit 9e75380f39
2 changed files with 51 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
PATCHES=(
# fix generators for python3.7+
"${FILESDIR}"/pygments-2.2.0-pep479.patch
)
python_compile_all() {
use doc && emake -C doc html
}