To install from the main tree,
emerge singular
is sufficient.
To get the very latest, slightly more experimental package add the "science overlay" first (if you have not already)
layman -a science
then unmask sci-mathematics/singular, for example by
echo "sci-mathematics/singular" >> /etc/portage/package.keywords/singular
and install:
emerge singularp