Future EAPI/EAPI 6 tentative features

This is a working page that contains references to features that have been suggested for EAPI 6.

New features

 * get_libdir
 * Used in econf, but so far not available as separate PM function.
 * Used in econf, but so far not available as separate PM function.


 * einstalldocs


 * Query function for IUSE_EFFECTIVE


 * Patch applying function in package manager
 * Needed for PATCHES support and user patches.
 * This duplicates epatch from eutils, in simplified form.
 * Name "eapply" has been suggested.
 * Name "eapply" has been suggested.


 * User patches
 * Name "eapply_user" has been suggested.
 * Will be called from default_src_prepare.
 * Will be called from default_src_prepare.


 * PATCHES support in default src_prepare


 * Runtime-switchable USE flags


 * Variant of || with defined runtime behaviour
 * Conditionally approved, pending Portage implementation
 * Conditionally approved, pending Portage implementation

Enhancements of existing features

 * nonfatal die


 * Allow empty DOCS variable


 * Directory support for DOCS


 * Unpack .txz


 * Case-fold extensions in unpack


 * unpack accept absolute paths


 * Directory support for package* and use*
 * Not intended for gentoo-x86 tree, only to be used in overlays.
 * Not intended for gentoo-x86 tree, only to be used in overlays.


 * Pass --docdir and --htmldir options to configure
 * einstall must be kept in sync
 * einstall must be kept in sync

Other changes

 * Bash 4.2


 * failglob in global scope
 * Only in global scope, not in local scope of functions
 * Only in global scope, not in local scope of functions


 * Ban einstall
 * Current einstall will break when --docdir and --htmldir options are passed to configure (which has been accepted for EAPI 6).
 * Can be easily replaced by an emake call, and is used scarcely in the tree.
 * Can be easily replaced by an emake call, and is used scarcely in the tree.

Rejected

 * EJOBS variable
 * gentoo-dev discussion
 * makeopts_jobs and makeopts_loadavg in multiprocessing.eclass provide similar functionality.
 * makeopts_jobs and makeopts_loadavg in multiprocessing.eclass provide similar functionality.


 * Source eclasses only once
 * gentoo-dev discussion
 * Alternative solution is already in place in eclasses.
 * Alternative solution is already in place in eclasses.


 * HDEPEND: host dependencies for cross-compilation


 * dohtml additional default suffixes


 * Ban dohtml
 * Will be kept (deprecated) in EAPI 6.
 * Will be kept (deprecated) in EAPI 6.