Trying to plot with matpltlib on python3* (in the absence of cairocffi) gives: ``` /usr/lib/python3.4/site-packages/matplotlib/backends/backend_gtk3agg.py:18: UserWarning: The Gtk3Agg backend is known to not work on Python 3.x with pycairo. Try installing cairocffi. "The Gtk3Agg backend is known to not work on Python 3.x with pycairo." ``` This can be solved by python-conditionally depending on cairoffi: I added: ``` $( python_gen_cond_dep 'dev-python/cairocffi[${PYTHON_USEDEP}]' 'python3*' ) ``` At the end of RDEPEND, and now the ebuilds pull in what they should when they should. I can,t however get this oast repoman, which gives me the following error: ``` dependency.bad [fatal] 81 dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: arm(default/linux/arm/13.0) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: arm(default/linux/arm/13.0) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0/desktop) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0/desktop) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0/desktop/gnome) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0/desktop/gnome) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0/desktop/gnome/systemd) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0/desktop/gnome/systemd) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0/desktop/kde) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] dev-python/matplotlib/matplotlib-1.4.3.ebuild: RDEPEND: ppc(default/linux/powerpc/ppc32/13.0/desktop/kde) [ 'dev-python/cairocffi[python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]'] ``` Can you help me finalize this fix?
commit f94cc35897d4d6dae8cf5a18329ba437ce8c7a50 Author: David Seifert <soap@gentoo.org> Date: Thu Feb 2 19:18:31 2017 +0100 dev-python/matplotlib: RDEPEND on dev-python/cairocffi only Gentoo-bug: 593042