Future EAPI/EAPI 6 tentative features
From Gentoo Wiki
Jump to:navigation
Jump to:search
This is a working page that contains references to features that have been suggested for EAPI 6.
Note
The Gentoo Council has accepted EAPI 6 in its 2015-11-08 meeting and again, with one modification, in bug #565700 on 2015-11-13. The final wording can be found in the Package Manager Specification (PDF). This page is kept for historical and documentation purposes.
The Gentoo Council has accepted EAPI 6 in its 2015-11-08 meeting and again, with one modification, in bug #565700 on 2015-11-13. The final wording can be found in the Package Manager Specification (PDF). This page is kept for historical and documentation purposes.
The following list of features accepted for or rejected from EAPI 6 is based on Gentoo Council meetings of 2014-06-10, 2014-06-17, 2014-06-24, 2014-09-09, 2014-10-14, and 2014-11-11.
Accepted
New features
- get_libdir()
- Specification
- bug #463586
- Used in econf, but so far not available as separate PM function.
- einstalldocs()
- Query function for IUSE_EFFECTIVE
- Patch applying function in package manager
- Specification 1, 2
- bug #463768
- Needed for PATCHES support and user patches.
- This duplicates epatch() from eutils, in simplified form.
- Name "eapply" has been suggested.
- User patches
- Specification 1, 2, 3
- bug #475288
- Name "eapply_user" has been suggested.
- Will be called from default_src_prepare().
- 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
- Pass --docdir and --htmldir options to configure
Other changes
- Bash 4.2
- failglob in global scope
- Specification
- bug #463822
- Only in global scope, not in local scope of functions
- Ensure sane settings for LC_CTYPE and LC_COLLATE
- Ban einstall
- Specification
- bug #524112
- 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.
Deferred to future EAPI
- Runtime-switchable USE flags
- Variant of || ( ) with defined runtime behaviour
- Ban dohtml
- bug #520546
- Will be kept (deprecated) in EAPI 6.
- bug #520546
- Directory support for package* and use*
- bug #282296
- Not intended for gentoo-x86 tree, only to be used in overlays.
- bug #282296
Rejected
- EJOBS variable
- bug #273101
- gentoo-dev discussion
- makeopts_jobs() and makeopts_loadavg() in multiprocessing.eclass provide similar functionality.
- Source eclasses only once
- bug #422533
- gentoo-dev discussion
- Alternative solution is already in place in eclasses.
- HDEPEND: host dependencies for cross-compilation
- dohtml additional default suffixes