Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Useless messages (elog, ewarn, etc) in ebuilds
Date: Tue, 21 Aug 2012 14:15:47
Message-Id: 20120821151228.6382cb74@googlemail.com
In Reply to: Re: [gentoo-dev] Useless messages (elog, ewarn, etc) in ebuilds by "Amadeusz Żołnowski"
1 On Tue, 21 Aug 2012 15:50:58 +0200
2 Amadeusz Żołnowski <aidecoe@g.o> wrote:
3 > > It's thus much better to use REPLACING_VERSIONS (which is plural,
4 > > and this is important) rather than has_version, if you're asking
5 > > about the current package rather than another package.
6 >
7 > Right. Thanks. REPLACING_VERSIONS and REPLACED_BY_VERSION is much
8 > better, but for older EAPIs couldn't one set it manually with help of
9 > has_version in pkg_setup and check that var later in postinst?.
10
11 One could, but one probably shouldn't, unless one is familiar with
12 the exact rules for env saving with binary packages... We added
13 REPLACING_VERSIONS to make this kind of thing easy.
14
15 --
16 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature