Let's file bugs needed to reduce built_with_use usage in the tree as depends of this one.
dev-java is in order besides waiting the removal of a couple of old ebuilds
I finished up app-text today.
net-p2p in order when bug #260072 is in order
app-portage done
did sys-power and www-apps
net-firewall in order
net-dialup in order
net-im mostly in order, a few things need the built_with_use calls(lack of [foo(+)] deps.
x11-wm done
net-analyzer mostly done.
What about adding bug #261757 to the dependency list. python_tkinter_exists which is also called by distutils_python_tkinter is just another variant of built_with_use so it makes sense to remove them too.
did www-apache
There are also a few eclasses utilizing built_with_use that should be taken into account. It follows a list with the eclasses and the number of ebuilds currently using that eclass. More interesting would be how much ebuilds are actually using functions from the eclass that invoke built_with_use to get sane usage numbers. Unfortunately I was not able to get that data. confutils.eclass used by 145 Ebuilds depend.apache.eclass used by 56 Ebuilds depend.php.eclass used by 202 Ebuilds eutils.eclass used by 11578 Ebuilds games-mods.eclass used by 86 Ebuilds gkrellm-plugin.eclass used by 54 Ebuilds horde.eclass used by 181 Ebuilds java-utils-2.eclass used by 3 Ebuilds kde4-base.eclass used by 109 Ebuilds kde.eclass used by 10513 Ebuilds mysql.eclass used by 3076 Ebuilds php-common-r1.eclass used by 0 Ebuilds phpconfutils.eclass used by 29 Ebuilds qt4-build.eclass used by 144 Ebuilds qt4.eclass used by 1170 Ebuilds subversion.eclass used by 681 Ebuilds toolchain.eclass used by 3245 Ebuilds wxwidgets.eclass used by 273 Ebuilds x-modular.eclass used by 1504 Ebuilds
Hm, I need to learn grep the following numbers should be more correct: confutils.eclass used by 58 Ebuilds depend.apache.eclass used by 56 Ebuilds depend.php.eclass used by 202 Ebuilds eutils.eclass used by 11309 Ebuilds games-mods.eclass used by 58 Ebuilds gkrellm-plugin.eclass used by 46 Ebuilds horde.eclass used by 48 Ebuilds java-utils-2.eclass used by 3 Ebuilds kde4-base.eclass used by 47 Ebuilds kde.eclass used by 1992 Ebuilds mysql.eclass used by 667 Ebuilds php-common-r1.eclass used by 0 Ebuilds phpconfutils.eclass used by 3 Ebuilds qt4-build.eclass used by 47 Ebuilds qt4.eclass used by 332 Ebuilds subversion.eclass used by 227 Ebuilds toolchain.eclass used by 2963 Ebuilds wxwidgets.eclass used by 126 Ebuilds x-modular.eclass used by 665 Ebuilds
Created attachment 185462 [details] ebuilds using built_with_use via eclass-functions I was not able to get a list of functions within an eclass which invoke built_with_use by a script. So I manually searched for this functions and used qgrep to find the ebuilds using this functions.
(In reply to comment #11) > What about adding bug #261757 to the dependency list. python_tkinter_exists > which is also called by distutils_python_tkinter is just another variant of > built_with_use so it makes sense to remove them too. > I commented on that bug too, but I want to put it here for clarity. Please do not make python-2.5 EAPI=2. This is very bad for Gentoo to have portage/python at EAPI=>0 because if people have old installs then they cannot upgrade at all.
app-i18n done when dependency stable request and cleanup in order
built_with_use is still not fully replaced with USE deps. i.e. the --missing option is not accounted for with EAPI=2 USE deps fully
(In reply to comment #18) > built_with_use is still not fully replaced with USE deps. i.e. the --missing > option is not accounted for with EAPI=2 USE deps fully > Yes it's not but by being careful and using proper version restrictions I haven't found a case I couldn't convert yet. It will of course be easier for developers with EAPI 3.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28ef9023d24bab72dec94e21237982be78c67c08 commit 28ef9023d24bab72dec94e21237982be78c67c08 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2018-01-19 20:57:20 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2018-01-29 07:08:26 +0000 eutils.eclass: Remove built_with_use(). The function was deprecated in 2010 and is no longer used in the tree. Use EAPI 2 use deps and has_version as replacement. Closes: https://bugs.gentoo.org/261562 eclass/eutils.eclass | 92 ---------------------------------------------------- 1 file changed, 92 deletions(-)