After installing Kivy for the first time, I created and attempted to run the basic "first app" tutorial program, and got the following error: 8<--- [INFO ] [Logger ] Record log in /home/brendan.jurd/.kivy/logs/kivy_15-07-17_1.txt [INFO ] [Kivy ] v1.9.0 [INFO ] [Python ] v2.7.9 (default, Mar 11 2015, 14:56:33) [GCC 4.8.3] [INFO ] [Factory ] 173 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_pil (img_pygame, img_ffpyplayer ignored) [INFO ] [Text ] Provider: pil(['text_pygame'] ignored) [CRITICAL] [Window ] Unable to find any valuable Window provider at all! egl_rpi - ImportError: cannot import name bcm File "/usr/lib64/python2.7/site-packages/kivy/core/__init__.py", line 57, in core_select_lib fromlist=[modulename], level=0) File "/usr/lib64/python2.7/site-packages/kivy/core/window/window_egl_rpi.py", line 12, in <module> from kivy.lib.vidcore_lite import bcm, egl pygame - ImportError: No module named pygame File "/usr/lib64/python2.7/site-packages/kivy/core/__init__.py", line 57, in core_select_lib fromlist=[modulename], level=0) File "/usr/lib64/python2.7/site-packages/kivy/core/window/window_pygame.py", line 8, in <module> import pygame x11 - ImportError: No module named window_x11 File "/usr/lib64/python2.7/site-packages/kivy/core/__init__.py", line 57, in core_select_lib fromlist=[modulename], level=0) [CRITICAL] [App ] Unable to get a Window, abort. Exception SystemExit: 1 in 'kivy.properties.dpi2px' ignored [CRITICAL] [App ] Unable to get a Window, abort. 8<--- I had a look at the dependencies in the .ebuild, and they don't make a lot of sense: RDEPEND=" dev-python/pygame[${PYTHON_USEDEP}] virtual/python-imaging[${PYTHON_USEDEP}] cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] ) camera? ( media-libs/opencv ) garden? ( dev-python/kivy-garden[${PYTHON_USEDEP}] ) gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] ) spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] ) " RDEPEND="${DEPEND} <dev-python/cython-0.22[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] " I'm no expert in writing ebuilds, but declaring RDEPEND and then immediately replacing it is probably not intentional. It looks like the author meant for the first RDEPEND to be a DEPEND, although I think that wouldn't be quite right either, since pygame is a runtime dependency. After installing dev-python/pygame, my app ran no problems.
+ 18 Jul 2015; Pacho Ramos <pacho@gentoo.org> Kivy-1.9.0.ebuild: + Fix typo in dependencies (#555130 by Brendan Jurd) +