From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5810B138010 for ; Tue, 21 Aug 2012 14:15:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E0C4E0773; Tue, 21 Aug 2012 14:15:13 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id B460DE0660 for ; Tue, 21 Aug 2012 14:13:49 +0000 (UTC) Received: by weyt57 with SMTP id t57so5169410wey.40 for ; Tue, 21 Aug 2012 07:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=NPzX3UBlewB0V4AF9oDxkaPmMnymAIuLCj58GiDc5Xc=; b=DUCNvu0MrwViRQFoVxv2V+oKFJWROw2bPelXtkAbfYAB+UZiScEuOwJPCkp4qeXa09 KnBG4Rzu2hQEW1vZSU3dTrnHYZaAgmYz9AM81GN4N8JG1iEDo+KcEm5AdcihAzrEp76r p5bqAwqHDNC5NWbOi9fX+KsoyOljVJdbvV8zVdh1yAEoELvlw08noLMDPkuCTetILT7z XYV+QnnieiO/TXvYALO1hGhtDeWrseSGpsDeM7Kg8GWSafFfWvpfjnMAD+u8LqgE9KbL 4m19FeXgcGuglTRTv+s2uDWhYGD/LFa06XQzjjNOKfbvoGNw/m3wbudWNbW7eUbXU9Ou duWA== Received: by 10.216.147.4 with SMTP id s4mr9842102wej.9.1345558428705; Tue, 21 Aug 2012 07:13:48 -0700 (PDT) Received: from localhost (cpc13-broo7-2-0-cust130.14-2.cable.virginmedia.com. [82.9.16.131]) by mx.google.com with ESMTPS id k2sm4442075wiz.7.2012.08.21.07.13.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2012 07:13:48 -0700 (PDT) Date: Tue, 21 Aug 2012 15:12:28 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Useless messages (elog, ewarn, etc) in ebuilds Message-ID: <20120821151228.6382cb74@googlemail.com> In-Reply-To: <20120821135058.4319.16875@localhost> References: <20120821132457.4319.78667@localhost> <20120821143538.21cc35f3@googlemail.com> <20120821135058.4319.16875@localhost> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.11; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/EHY8F3=lpsLqsoA3+DrjM7i"; protocol="application/pgp-signature" X-Archives-Salt: 889b3437-0789-4d68-b91a-5b939b7c52ef X-Archives-Hash: e334554a3458d0ad0887d7182f00d31b --Sig_/EHY8F3=lpsLqsoA3+DrjM7i Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 21 Aug 2012 15:50:58 +0200 Amadeusz =C5=BBo=C5=82nowski wrote: > > It's thus much better to use REPLACING_VERSIONS (which is plural, > > and this is important) rather than has_version, if you're asking > > about the current package rather than another package. >=20 > Right. Thanks. REPLACING_VERSIONS and REPLACED_BY_VERSION is much > better, but for older EAPIs couldn't one set it manually with help of > has_version in pkg_setup and check that var later in postinst?. One could, but one probably shouldn't, unless one is familiar with the exact rules for env saving with binary packages... We added REPLACING_VERSIONS to make this kind of thing easy. --=20 Ciaran McCreesh --Sig_/EHY8F3=lpsLqsoA3+DrjM7i Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlAzl08ACgkQ96zL6DUtXhHSngCdGBYjIwVhY+LnZz6pf8+BIHlh pcEAnR1tZRZ3fcpygVKLOJT/iP2SvsxZ =CiSs -----END PGP SIGNATURE----- --Sig_/EHY8F3=lpsLqsoA3+DrjM7i--