gentoo-x86 commit in net-libs/libproxy: ChangeLog libproxy-0.4.6.ebuild
2010-10-01 15:15:56 Peter Volkov napisał(a):
> В Срд, 29/09/2010 в 20:43 +0000, Pacho Ramos (pacho) пишет:
> > pkg_setup() {
> > if use python; then
> > python_set_active_version 2
> > fi
>
> It's much shorter and clearer to write
>
> use python && python_set_active_version 2
Calling python_pkg_setup() is required in EAPI >=4, so I suggest:
pkg_setup() {
if use python; then
python_set_active_version 2
python_pkg_setup
fi
}
--
Arfrever Frehtes Taifersar Arahesis
|