There's no need for that variable. You can just define it as RDEPEND and then use it in DEPEND="test? ( ${RDEPEND )". Also there's no need to specify version numbers for numpy, scipy etc if there are no longer available in portage. Numpy-1.2 is pretty ancient ;-)