El lun, 27-05-2013 a las 11:35 -0400, Jonathan Callen escribió:
> A quick reminder for anyone using python-r1.eclass or
> python-single-r1.eclass:
> 
> These eclasses provide a ${PYTHON_REQUIRED_USE} variable that should
> be included in REQUIRED_USE under the same USE conditionals (if any)
> that ${PYTHON_DEPS} is included in DEPEND/RDEPEND.
> 
> For example, if your ebuild has:
> 
> RDEPEND="
>     python? ( ${PYTHON_DEPS}
> "
> 
> then you should also have:
> 
> REQUIRED_USE="
>     python? ( ${PYTHON_REQUIRED_USE} )
> "
> 
> And if your ebuild just has:
> 
> RDEPEND="${PYTHON_DEPS}"
> 
> then you should also have:
> 
> REQUIRED_USE="${PYTHON_REQUIRED_USE}"
> 
> Failure to include these in REQUIRED_USE may cause the eclass to die
> very late in the build process.
> 
> Thank you,
> 
> Jonathan Callen

Couldn't a repoman check be added for warning when an ebuild using that
eclasses don't set REQUIRED_USE at all?


Reply via email to