1 |
hi, |
2 |
sys-devel/automake would to depend on python:2.7 if and only if |
3 |
"test" are enabled. |
4 |
|
5 |
For the tast it inherit python-any-r1 eclass than depend conditionally |
6 |
with test? ( ${PYTHON_DEPS} )" |
7 |
|
8 |
Additionally the ebuild call python_setup() in src_test() |
9 |
|
10 |
However this does not work, because eclass python-any-r1_pkg_setup() |
11 |
call python_setup() itself and automake ebuild does NOT define it's own |
12 |
pkg_setup() (thus python-any-r1 pkg setup is used). |
13 |
|
14 |
Result is that with no python:2.7 installed ebuild will fail, always |
15 |
both with test enabled or disabled. |
16 |
|
17 |
I've realized all this after bug https://bugs.gentoo.org/648940 was |
18 |
closed, that discussion didn't go very well, so I'd like to ask before |
19 |
opening a different bug |
20 |
|
21 |
It's correct to ask the maintainer to define pkg_setup() in automake ebuild? |
22 |
|
23 |
if so should it be empty like: |
24 |
pkg_setup() { : } |
25 |
or it should contain default like |
26 |
pkg_setup() { default } |
27 |
|
28 |
or another solution is preferred? |
29 |
|
30 |
Thanks in advance, |
31 |
Francesco (vivo) |