At 4. Writing the ebuild General Guidelines following is written Since Portage does not support depending on a particular slot at this time, your DEPEND and RDEPEND should look like =dev-java/some-library-1.2* to signify that any 1.2.x library is supported. Presumably, they will all be SLOT compatible. This could be updated to EAPI usage.
Fixed.