-# Copyright © 2020 Nick Bowler
+# Copyright © 2020-2021 Nick Bowler
# License GPLv3+: GNU General Public License version 3 or any later version.
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
EAPI=7
+_PYTHON_ALLOW_PY27=1
PYTHON_COMPAT=( python2_7 )
inherit autotools python-single-r1
S=$WORKDIR/$MY_P
+PATCHES=("$FILESDIR/$PV-no-mypaint-brushes.patch")
+
src_prepare () {
sed -i '/^libgimp/s|[^ ]*/lib\(gimp[^-]*\)-[^ ]*\.la|-l\1-2.0|' \
plug-ins/pygimp/Makefile.am