Created attachment 305263 [details] patch for python-updater skip packages without python support My English is not very good, excuse me if I said something wrong. After 'python' use flag was removed from several packages, python-updater always tries to rebuild all packages without python binding/support. For example: sys-libs/cracklib built with "-python", and python-updater shows message when run: "Adding to list: sys-libs/cracklib:0 ; check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 ]". And it happens everytime I run python-updater, but cracklib isn't in PKGS_MANUAL. In my opinion, python-updater must skip packages without python bindings/support instead of trying to rebuild them. This behavior appears due to incomplete verification of matching old and new python ABI versions: when old ABI version is empty, python-updater assumes it not equal to new and includes package to rebuild list. Attached patch can solve this problem. With best regards.
Duplicate of bug #384525.
Users can set PYTHON_ABIS variable in /etc/make.conf, and then this variable would be stored in environment.bz2 even if support for Python (e.g. "python" USE flag) is disabled.
Well, but if PYTHON_ABIS is empty (usually this is the case), with these changes python-updater will simply skip unnecessary rebuild. When PYTHON_ABIS is defined in /etc/make.conf, python-updater will behave as usual. Or have I missing something else? In any case, this change adds only empty string check and nothing more. It will help most people to prevent permanent unnecessary rebuilding of packages and will not affect normal python-updater's operation. With best regards.
*** This bug has been marked as a duplicate of bug 384525 ***