Created attachment 381832 [details] emerge --info 'net-p2p/deluge' Hello, When using deluge-gtk, the application wasn't working. I noticed, when I launch the program through a terminal it was failing with this error: Traceback (most recent call last): File "/usr/bin/deluge-gtk", line 9, in <module> load_entry_point('deluge==1.3.6', 'gui_scripts', 'deluge-gtk')() File "/usr/libx32/python2.7/site-packages/pkg_resources.py", line 356, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/libx32/python2.7/site-packages/pkg_resources.py", line 2439, in load_entry_point return ep.load() File "/usr/libx32/python2.7/site-packages/pkg_resources.py", line 2155, in load ['__name__']) File "/usr/libx32/python2.7/site-packages/deluge/ui/gtkui/__init__.py", line 1, in <module> from gtkui import start File "/usr/libx32/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 148, in <module> "choose_directory_dialog_path": deluge.common.get_default_download_dir(), File "/usr/libx32/python2.7/site-packages/deluge/common.py", line 179, in get_default_download_dir from xdg.BaseDirectory import xdg_config_home ImportError: No module named xdg.BaseDirectory And I notice the package dev-python/pyxdg is currently not build with the USE flag python_targets_python2_7. In fact, I looked in the ebuild, and I noticed every PYTHON_DEPS and PYTHON_REQUIRED_USE are missing, for every dependencies. Portage, when compiling deluge, should check PYTHON_DEPS for dependencies. Steps to Reproduce: 1. put in package.use: dev-python/pyxdg -python_targets_python2_7 2. emerge deluge with gtk USE flag, 3. execute deluge-gtk in a terminal. Reproductible: Always. Thanks for support. PS: Please, could anyone make an ebuild for the new version 1.3.7 please?
Additionally for the webinterface USE flag, dev-python/mako needs to be built with the python_targets_python2_7 USE flag. Otherwise the web interface fails to start, even though deluged starts correctly.
[master 2778da7] net-p2p/deluge: PYTHON_REQUIRED_USE needed 1 file changed, 1 insertion(+)