Please port to newer EAPI.
https://github.com/gentoo/gentoo/commit/9bbb8130079a513ab43610415bf293040ed3bcf2