install_cropgui_wrapper() { python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade make_wrapper "${PN}-${EPYTHON}" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py" } src_install() { local python_moduleroot="${PN}" python_foreach_impl install_cropgui_wrapper dosym python-exec /usr/bin/"${PN}" Not that I have a really good idea how to fix this but please at least keep this bug open for reference.
(In reply to Michał Górny from comment #0) > Not that I have a really good idea how to fix this but please at least keep > this bug open for reference. IMO the only way to fix this without upstream intervention is to drop support for multiple ABIs which definitely would be a regression for our users.
FYI: I've forced python-exec:0 in the ebuild now. We will probably revisit this near python-exec:2 going stable, so please keep the bug open.
In case of a version bump (or simply ebuild fix): For cropgui to work: sed 's/import Image/from PIL import Image/' filechooser.py cropgui_common.py # 4 occurences (2 Image, 1 ImageFilter, 1 ImageDraw) Please note that README and LICENCE were added recently in the upstream git tree.
+*cropgui-0.1.1-r3 (13 Mar 2014) + + 13 Mar 2014; Michał Górny <mgorny@gentoo.org> +cropgui-0.1.1-r3.ebuild: + Use python_doexe() to make it non-dependant on Python wrapping implementation, + bug #484422.