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 (or IUSE?)

 PATCHES support in default src_prepare



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



Other changes
 Bash 4.2

 failglob in global scope
 * Also in local scope of functions?
 * Also in local scope of functions?



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

<li> User patches
 * PMS wording, Portage no-op dummy stub
 * Intrusive.
 * Current wording of the spec requires that every ebuild includes a call to the apply_user_patches function in src_prepare.
 * Are we happy with the name apply_user_patches? (eapply_user?)

<li> EJOBS variable
 * gentoo-dev discussion
 * Discussion was almost 4 years ago. Is there (still) consensus?
 * Discussion was almost 4 years ago. Is there (still) consensus?

<li> Source eclasses only once
 * gentoo-dev discussion
 * gentoo-dev discussion

<li> HDEPEND: host dependencies for cross-compilation

<li> 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

</ol>