hi,
sys-devel/automake would to depend on python:2.7 if and only if
"test" are enabled.
For the tast it inherit python-any-r1 eclass than depend conditionally
with test? ( ${PYTHON_DEPS} )"
Additionally the ebuild call python_setup() in src_test()
However this does not work, because eclass python-any-r1_pkg_setup()
call python_setup() itself and automake ebuild does NOT define it's own
pkg_setup() (thus python-any-r1 pkg setup is used).
Result is that with no python:2.7 installed ebuild will fail, always
both with test enabled or disabled.
I've realized all this after bug https://bugs.gentoo.org/648940 was
closed, that discussion didn't go very well, so I'd like to ask before
opening a different bug
It's correct to ask the maintainer to define pkg_setup() in automake ebuild?
if so should it be empty like:
pkg_setup() { : }
or it should contain default like
pkg_setup() { default }
or another solution is preferred?
Thanks in advance,
Francesco (vivo)