EAPI
From Gentoo Wiki
Jump to:navigation
Jump to:search
EAPI is a version defined in ebuilds and other package manager related files which informs the package manager about the file syntax and content.
The EAPI versions (and their meaning) are defined in the Package Manager Specification. Currently, EAPIs 0 through 9 are defined by the specification and supported by the stable version of Portage. When writing new ebuilds developers can choose whatever EAPI they think is the best. Using the features of the latest EAPI is encouraged. In the main Gentoo repository, EAPIs 0 to 6 are banned for new ebuilds, whereas EAPI 7 is deprecated.
Note
Commonly used eclasses often define their own set of supported EAPIs.
Commonly used eclasses often define their own set of supported EAPIs.
See also
- Future EAPI — collects feature ideas which are being requested for inclusion in a future EAPI specification.
External resources
- EAPI cheat sheet (version 9.0, 2025年12月14日; PDF)
- EAPI Usage and Description (Gentoo Development Guide)
- Devmanual section on EAPI 9
- The ultimate guide to EAPI 8 (Michał Górny's blog)
- GLEP 83: EAPI deprecation
Retrieved from "https://wiki.gentoo.org/index.php?title=EAPI&oldid=1440055"