-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vlastimil Babka wrote: > Zac Medico wrote: >> If the package manager exposes a slightly lower level interface to >> the USE flags then build_with_use can use that instead, and the >> package manager won't have to implement the full build_with_use >> interface. For example, portageq currently supports a "metadata" >> command that can be used to query installed package metadata such as >> USE and IUSE. Perhaps we should use some type of interface similar >> to that. > > I'd say it depends on whether we want to support native_built_with_use > just as a temporary workaround until there are use deps (then just > package managers not using vdb would implement it, and portage need not > care), or we would want to use the general metadata query also for other > purposes.
The point is that if we simplify the interface and avoid duplication of logic, there will be less potential for EAPI change. If somebody wants to add a new option to built_with_use then they'll either have to bump the EAPI or just accept that anybody using an incompatible native_built_with_use implementation may experience api breakage. Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFHqWaf/ejvha5XGaMRAgMPAKDhVfdAcdC/m+ZCiIPUGKkeSzAZuACgr+6Y dgxIgIeV8FhsDHPxLI9egEc= =W8Pg -----END PGP SIGNATURE----- -- gentoo-dev@lists.gentoo.org mailing list