From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1699220-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F25861581F0 for <garchives@archives.gentoo.org>; Wed, 11 Dec 2024 19:40:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C62DFE0D4C; Wed, 11 Dec 2024 19:40:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE7A7E0D4C for <gentoo-commits@lists.gentoo.org>; Wed, 11 Dec 2024 19:40:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C953134316E for <gentoo-commits@lists.gentoo.org>; Wed, 11 Dec 2024 19:39:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3948D1F0B for <gentoo-commits@lists.gentoo.org>; Wed, 11 Dec 2024 19:39:58 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1720340317.dc3b51bf149f174aeed15860185aba8cce1728ff.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: dependencies.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: dc3b51bf149f174aeed15860185aba8cce1728ff X-VCS-Branch: eapi-9 Date: Wed, 11 Dec 2024 19:39:58 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8aa7f674-b12c-4ef7-b1d4-9a361f73bf7a X-Archives-Hash: b5cf6e0c738dab97bc94e4380301a3ff Message-ID: <20241211193958.ThjGil1E6iTE9b845Gzu4uGhzJIBUqymMir1vcRupIY@z> commit: dc3b51bf149f174aeed15860185aba8cce1728ff Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sat Jul 6 09:44:05 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Jul 7 08:18:37 2024 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=dc3b51bf dependencies.tex: Clarify specification of the slot= operator Reported-by: Jannik Glückert <jannik.glueckert <AT> gmail.com> Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> dependencies.tex | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dependencies.tex b/dependencies.tex index 47c96c3..c1f7d6a 100644 --- a/dependencies.tex +++ b/dependencies.tex @@ -349,15 +349,16 @@ the following operators: the slot and sub-slot of the best version installed as a build-time (\t{DEPEND}) dependency is available. \item[slot=] Indicates that only a specific slot value is acceptable, and otherwise behaves - identically to the plain equals slot operator. + identically to the \t{=} operator. The specified slot must not contain a sub-slot part. \end{description} -To implement the equals slot operator, the package manager will need to store the slot/sub-slot -pair of the best installed version of the matching package. This syntax is only for package manager -use and must not be used by ebuilds. The package manager may do this by inserting the appropriate -slot/sub-slot pair between the colon and equals sign when saving the package's dependencies. The -sub-slot part must not be omitted here (when the SLOT variable omits the sub-slot part, the package -is considered to have an implicit sub-slot which is equal to the regular slot). +To implement the equals slot operators \t{=} and \i{slot}\t{=}, the package manager will need to +store the slot/sub-slot pair of the best installed version of the matching package. This syntax is +only for package manager use and must not be used by ebuilds. The package manager may do this by +inserting the appropriate slot/sub-slot pair between the colon and equals sign when saving the +package's dependencies. The sub-slot part must not be omitted here (when the \t{SLOT} variable +omits the sub-slot part, the package is considered to have an implicit sub-slot which is equal to +the regular slot). Whenever the equals slot operator is used in an enabled dependency group, the dependencies (\t{DEPEND}) must ensure that a matching package is installed at build time. It is invalid to use