See the tracker bug. if ! version_is_at_least 1.7.0 ${REPLACING_VERSIONS}; then This will not work correctly when RV has >1 value.
dev-java/ant-core is not slotted (idk if it was before). can it really happen that REPLACING_VERSIONS could contain more than one version?
Yes.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0810f758d1714ee89fe9102cc649bcca91a61c52 commit 0810f758d1714ee89fe9102cc649bcca91a61c52 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-11-01 10:31:19 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-11-01 10:31:42 +0000 dev-java/ant-core: removed obsolete code Closes: https://bugs.gentoo.org/699066 Closes: https://bugs.gentoo.org/589460 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/ant-core/ant-core-1.10.5-r2.ebuild | 15 --------------- dev-java/ant-core/ant-core-1.10.7.ebuild | 15 --------------- dev-java/ant-core/ant-core-1.9.13-r2.ebuild | 15 --------------- 3 files changed, 45 deletions(-)