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 (PMS). Currently, EAPIs 0 through 8 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.

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