1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
EAPI=7 if [[ "${PV}" == 9999 ]] ; then inherit vcs PRE_INHERIT_VAR="foo" fi inherit pre-inherit DESCRIPTION="Ebuild with properly set pre-inherit eclass variable" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SLOT="0" LICENSE="BSD" src_prepare() { default [[ ${PV} == 9999 ]] && vcs_public_function }