X-Git-Url: https://git.draconx.ca/gitweb/gentoo-draconx.git/blobdiff_plain/a83ac38f2959dac783f2f30515f1027a55911c70:/media-plugins/gimp-python/gimp-python-2.10.20.ebuild..fc119ad7f016ac596a400a80cc568837cb3c2d70:/media-plugins/gimp-python/gimp-python-2.10.20-r1.ebuild diff --git a/media-plugins/gimp-python/gimp-python-2.10.20.ebuild b/media-plugins/gimp-python/gimp-python-2.10.20-r1.ebuild similarity index 92% rename from media-plugins/gimp-python/gimp-python-2.10.20.ebuild rename to media-plugins/gimp-python/gimp-python-2.10.20-r1.ebuild index f77a72b..300c786 100644 --- a/media-plugins/gimp-python/gimp-python-2.10.20.ebuild +++ b/media-plugins/gimp-python/gimp-python-2.10.20-r1.ebuild @@ -1,10 +1,11 @@ -# 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 @@ -31,6 +32,8 @@ REQUIRED_USE=$PYTHON_REQUIRED_USE 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