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 DAF73138010 for ; Mon, 10 Sep 2012 06:42:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A724EE0138; Mon, 10 Sep 2012 06:42:49 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 559CDE0138 for ; Mon, 10 Sep 2012 06:42:49 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so1127119wgb.10 for ; Sun, 09 Sep 2012 23:42: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=lFaHMRreQHXUX1oWhsnMJR9IAhSzvnPKQYoBSWwo+Ws=; b=yVskAe1BPvYyWALX/1ur141Eexqc8hQQcRxJJwf5+l1NO0GtMQDZ0L2PWCf3Q8XVoY 6OVAYJCpiHdZex8lCo3OgTiMBramsAyUhcQ52H91ICqymIgwX+1SrP76fkT7nvhBjLjL +SBGVYT16mgdL65FwvDoklR590ziU7Du3VQRwWJ/+yTiFPmy11DkItHZtNK/vHwscjKH SBYB7jq4ZDQwMYn54SXon3kWzWEfSR/NkGZkfk3wqQx2pN/hw6bqnngPp1UfUja/n0PO 7JguqTtfqe+U5XA6AZ3Hcv1C4RJtOjCwYWuTtkFxs0ws1hKklmnyAaoWIXZMW7p7bX5e FRcA== Received: by 10.217.1.79 with SMTP id m57mr7078132wes.121.1347259368560; Sun, 09 Sep 2012 23:42: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 o2sm23185142wiz.11.2012.09.09.23.42.47 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Sep 2012 23:42:48 -0700 (PDT) Date: Mon, 10 Sep 2012 07:40:40 +0100 From: Ciaran McCreesh To: gentoo-pms@lists.gentoo.org Subject: Re: [gentoo-pms] best_version: missing failure behavior Message-ID: <20120910074040.2f029629@googlemail.com> In-Reply-To: <20120909233124.54cff513@pomiocik.lan> References: <20120909233124.54cff513@pomiocik.lan> 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 Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/ZNVWMyleG=JuofOw2ZkTolJ"; protocol="application/pgp-signature" X-Archives-Salt: 2d4e8b4a-435d-4dda-8cdb-7e4d227270a1 X-Archives-Hash: 61feb96c09caaa3bfb726d7c9dc124b1 --Sig_/ZNVWMyleG=JuofOw2ZkTolJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 9 Sep 2012 23:31:24 +0200 Micha=C5=82 G=C3=B3rny wrote: > > best_version Takes exactly one package dependency specification > > as an argument. If a matching package is installed, prints > > the category, package name and version of the highest matching > > version. >=20 > What happens if no matching package is installed? Is it then even > legal to call the function then? If there's no matching package installed, it doesn't print anything. --=20 Ciaran McCreesh --Sig_/ZNVWMyleG=JuofOw2ZkTolJ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlBNi24ACgkQ96zL6DUtXhECtQCfVAFjY92POpzegaD3vH0u830x Z1gAoKbkid1b8VlTxv5iNvPfj2dTdtMP =paQZ -----END PGP SIGNATURE----- --Sig_/ZNVWMyleG=JuofOw2ZkTolJ--