Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
| Navigation: |
|
Lists:
gentoo-dev:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
Gentoo Development <gentoo-dev@g.o>
|
|
From:
|
Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
|
|
Subject:
|
Re: Re: [gentoo-commits] gentoo-x86 commit in net-libs/libproxy: ChangeLog libproxy-0.4.6.ebuild
|
|
Date:
|
Fri, 1 Oct 2010 19:05:11 +0200
|
|
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
|
| Attachment: |
|
signature.asc (This is a digitally signed message part.)
|
|