The eclass countains, on or around line 48: if ! has "${EAPI:-4}" 4; then die "API of vdr-plugin-2.eclass in EAPI=\"${EAPI}\" not established" fi This breaks EAPI policy, in that an empty EAPI is always assumed to be EAPI=0. Also, eclasses cannot set a default EAPI for ebuilds since then the EAPI on-or-before-line-5 is invalid.
i changed the part to -> case ${EAPI:-0} in 4) ;; *) die "EAPI ${EAPI} unsupported." esac hope its well now, anyway, all plugins converted from vdr-plugin.eclass to vdr-plugin-2.eclass have to use the (minimal) EAPI="4" !
thanks for reporting this and reviewing after i did announced this to gentoo-dev ML ;)