* [gentoo-dev] python-any-r1 deps used only for testing
@ 2018-02-28 22:03 99% Francesco Riosa
0 siblings, 0 replies; 1+ results
From: Francesco Riosa @ 2018-02-28 22:03 UTC (permalink / raw
To: gentoo development
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)
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-02-28 22:03 99% [gentoo-dev] python-any-r1 deps used only for testing Francesco Riosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox