EAPI 2_pre1
Helpers
doman
Language codes in file names are now used for path translation.
Man Page Path Translation
Source
Destination
foo.1
/usr/share/man/man1/foo.1
foo.lang.1
/usr/share/man/lang/man1/foo.1
USE Dependencies
Unconditional USE Dependencies
Syntax Examples
Example
Meaning
foo[bar]
foo must have bar enabled
foo[bar,baz]
foo must have both bar and baz enabled
foo[-bar,baz]
foo must have bar disabled and baz enabled
Conditional USE Dependencies
Syntax Examples
Compact Form
Equivalent Expanded Form
foo[bar?]
bar? ( foo[bar] ) !bar? ( foo )
foo[!bar?]
bar? ( foo ) !bar? ( foo[-bar] )
foo[bar=]
bar? ( foo[bar] ) !bar? ( foo[-bar] )
foo[!bar=]
bar? ( foo[-bar] ) !bar? ( foo[bar] )
EAPI 2_pre2
Phases
New src_configure Phase Function
The configure portion of the src_compile function has been
split into a separate function which is named src_configure. The
src_configure function is called in between the src_unpack and
src_compile functions.
Execution Order of Phase Functions
Phase Function Name
pkg_setup
src_unpack
src_configure
src_compile
src_test
src_install
pkg_preinst
pkg_postinst
pkg_prerm
pkg_postrm
Default Phase Functions
Each of the default src_* phase functions is now accessible
via a function having a name that begins with default_ and
ends with the respective phase function name. For example,
a call to a function with the name default_src_compile is
equivalent to a call to the default src_compile
implementation.