Ciaran McCreesh schrieb:
> On Sun, 11 Mar 2012 16:14:33 +0100
> Chí-Thanh Christopher Nguyễn <chith...@gentoo.org> wrote:
>> Ciaran McCreesh schrieb:
>>>> Is there really much of a benefit to this?  I guess for anybody who
>>>> runs scripts to mass-manipulate ebuilds it might be helpful, but I
>>>> think all the package managers planned on supporting all the EAPIs
>>>> for quite a while longer.
>>> We have to support them indefinitely. It's not possible to
>>> uninstall a package whose EAPI is unknown.
>>>
>> Would it be feasible to do a pkg_pretend() check and refuse
>> install/upgrade if packages with unsupported EAPI  are detected?
> Uhm. I think your question doesn't make any sense, but maybe I'm just
> not understanding it. Rephrase please.
>

Assume a new version 13.37 of your package manager drops EAPI=1 support.
So package-manager-13.37.ebuild checks in pkg_pretend() if any EAPI=1
package is installed on the system. If yes, then it aborts, telling the
user to get rid of the package first.

That way, the situation where the package manager does not know how to
uninstall a package is avoided.

Note that I do not suggest that this be done, I only show that it can be
possible to drop old EAPI support.


Best regards,
Chí-Thanh Christopher Nguyễn


Reply via email to