It must be pkg_postinst() instead of pkg_postnst(). The mistake is present in all ebuilds. Reproducible: Always
Commited, thanks.