From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6443138334 for ; Wed, 24 Oct 2018 13:01:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CD9BE0992; Wed, 24 Oct 2018 13:01:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DDAFCE0992 for ; Wed, 24 Oct 2018 13:01:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D206335CDE for ; Wed, 24 Oct 2018 13:01:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D83EB44E for ; Wed, 24 Oct 2018 13:01:07 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1540385796.b52cc8dffe22a0f0428d1bb533acc1b1b92e411e.grknight@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: function-reference/query-functions/ X-VCS-Repository: proj/devmanual X-VCS-Files: function-reference/query-functions/text.xml X-VCS-Directories: function-reference/query-functions/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: b52cc8dffe22a0f0428d1bb533acc1b1b92e411e X-VCS-Branch: master Date: Wed, 24 Oct 2018 13:01:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9407fbec-5576-40cd-aba3-19ee7bcbc378 X-Archives-Hash: 0621fffd4b1c11342ece44cbca705412 commit: b52cc8dffe22a0f0428d1bb533acc1b1b92e411e Author: Brian Evans gentoo org> AuthorDate: Mon Sep 17 14:58:21 2018 +0000 Commit: Brian Evans gentoo org> CommitDate: Wed Oct 24 12:56:36 2018 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=b52cc8df function-reference/query-functions: Add EAPI=7 options for {has,best}_version Signed-off-by: Brian Evans gentoo.org> function-reference/query-functions/text.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/function-reference/query-functions/text.xml b/function-reference/query-functions/text.xml index 97d2dfb..8511c93 100644 --- a/function-reference/query-functions/text.xml +++ b/function-reference/query-functions/text.xml @@ -93,18 +93,22 @@ query variables and similar state. - best_version pkg + best_version [option] pkg Echoes category, name and version of the highest version of pkg that is currently installed. Example: best_version app-editors/emacs:24 will output app-editors/emacs-24.5-r3. + (EAPI=7) An option may also be specified to query certain types of dependencies. + -b for BDEPEND + -d for DEPEND + -r (default) for RDEPEND - has_version pkg[flag] + has_version [option] pkg[flag] True if pkg (can include @@ -113,6 +117,10 @@ query variables and similar state. ) is installed. Example: has_version "=app-editors/nano-2.5.3[nls,spell]". + (EAPI=7) An option may also be specified to query certain types of dependencies. + -b for BDEPEND + -d for DEPEND + -r (default) for RDEPEND