summaryrefslogtreecommitdiff
path: root/dev-python/pygments/pygments-2.2.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pygments/pygments-2.2.0.ebuild')
-rw-r--r--dev-python/pygments/pygments-2.2.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/pygments/pygments-2.2.0.ebuild b/dev-python/pygments/pygments-2.2.0.ebuild
index 07dcfb618418..d9da923f8cdf 100644
--- a/dev-python/pygments/pygments-2.2.0.ebuild
+++ b/dev-python/pygments/pygments-2.2.0.ebuild
@@ -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
}