I can't see any reason why this was restricted to 4.10 other than
that's what upstream used. 4.12 works fine.
Package-Manager: portage-2.2.28
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
)"
DEPEND="${RDEPEND}
dev-java/ant-nodeps:0
- test? ( =dev-java/junit-4.10*:4
+ test? ( >=dev-java/junit-4.12:4
dev-java/hamcrest-core )
dev-java/ant-junit:0
>=dev-java/ant-ivy-2.2.0:2"