Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640062 - gnome-extra/gnome-commander optionally relies on dead gnome2 python bindings
Summary: gnome-extra/gnome-commander optionally relies on dead gnome2 python bindings
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Uwe Scholz
Depends on: 654522
Blocks: gnome2-python-removal
  Show dependency tree
Reported: 2017-12-06 15:02 UTC by Pacho Ramos
Modified: 2018-05-22 18:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-12-06 15:02:17 UTC
I was reviewing reverse deps of all gnome-common-python bindings and I saw that this package relies on gnome-vfs-python optionally

Could then the "python" support be disabled for this?

Comment 1 Uwe Scholz 2017-12-17 17:58:54 UTC
I am not sure if I understand your intention correctly. The "python" USE flag is used for assuring that gnome-vfs-python is installed when installing Gnome Commander.

Is the removal of "use python && python-single-r1_pkg_setup" in pkg_setup(){...} what you want?

Can you give an example of how you would change the ebuild?
Comment 2 Pacho Ramos gentoo-dev 2017-12-17 20:52:53 UTC
It would be to pass --disable-python unconditionally to not RDEPEND on dev-python/gnome-vfs-python

Hence, that would also mean to drop the usage of python eclass as no other USE would require it :)
Comment 3 Uwe Scholz 2017-12-17 22:07:50 UTC
There are some python plugins coming with this package. They are byte-compiled when python is enabled. These plugins therefore need python and also dev-python/gnome-vfs-python. (e.g. /usr/local/lib/gnome-commander/plugins/md5sum.pyc).

But I also noticed right now that all plugins crash when executed. (Error message: "Python-Module »gnomevfs« (»gnome.vfs«) could not be loaded"). I have no clue why this is happening currently. But as we have introduced a new plugin system in version 1.6 (not based on python anymore) I am thinking of removing the python support completely.

I will provide a new ebuild for this in the next days.
Comment 4 Uwe Scholz 2018-05-01 12:45:28 UTC
A new version of Gnome Commander is waiting to get into portage. This version (1.8.1) has no python support anymore. I marked this bug here as being dependent on the other one, so if it is fixed, this bug here should be fixed, too.
Comment 5 Uwe Scholz 2018-05-22 18:36:13 UTC
Meanwhile Gnome Commander 1.8.1 made it into the portage tree, without any python dependency. Because of this I consider this issue as obsolete now.