phase_func=src_unpack
;;
prepare)
- ! hasq $eapi 0 1 2_pre1 2_pre2 && \
+ ! hasq $eapi 0 1 && \
phase_func=src_prepare
;;
configure)
- ! hasq $eapi 0 1 2_pre1 && \
+ ! hasq $eapi 0 1 && \
phase_func=src_configure
;;
compile)
case $eapi in
- 0|1|2_pre1)
+ 0|1)
if [[ $(type -t src_compile) != function ]] ; then
case $eapi in
pkg = self.pkg
phases = self._phases
eapi = pkg.metadata["EAPI"]
- if eapi in ("0", "1", "2_pre1"):
+ if eapi in ("0", "1"):
# skip src_prepare and src_configure
phases = phases[2:]
- elif eapi in ("2_pre2",):
- # skip src_prepare
- phases = phases[1:]
for phase in phases:
ebuild_phases.add(EbuildPhase(background=self.background,
eapi = mysettings["EAPI"]
- if mydo == "configure" and eapi in ("0", "1", "2_pre1"):
+ if mydo == "configure" and eapi in ("0", "1"):
return os.EX_OK
- if mydo == "prepare" and eapi in ("0", "1", "2_pre1", "2_pre2"):
+ if mydo == "prepare" and eapi in ("0", "1"):
return os.EX_OK
kwargs = actionmap[mydo]["args"]
eerror(l, phase=mydo, key=mysettings.mycpv)
return rval
-_deprecated_eapis = frozenset(["2_pre3", "2_pre2", "2_pre1"])
+_deprecated_eapis = frozenset()
def _eapi_is_deprecated(eapi):
return eapi in _deprecated_eapis