Mailing List Archive

About python dependencies
Suppose, we have package A which depends on package B.
 
I see three statements in
https://projects.gentoo.org/python/guide/single.html#dependencies
and
https://projects.gentoo.org/python/guide/multi.html#dependencies :
 
1. If A is multi-impl, we should use `B[${PYTHON_USEDEP}]`.
 
2a. If A is single-impl and B is single-impl, we should use `B[${PYTHON_SINGLE_USEDEP}]`.
 
2b. If A is single-impl and B is multi-impl, we should use `$(python_gen_cond_dep 'B[${PYTHON_USEDEP}])`.
 
Are all statements correct? Thanks!
 
Sincerely,
Alexander Kurakin.