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 7179A138010 for ; Fri, 14 Sep 2012 06:16:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D0BA21C00B; Fri, 14 Sep 2012 06:14:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C163B21C00B for ; Fri, 14 Sep 2012 06:14:50 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A9EA33D71B for ; Fri, 14 Sep 2012 06:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 6AD3BE5448 for ; Fri, 14 Sep 2012 06:14:47 +0000 (UTC) From: "Ulrich Mueller" 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 Mueller" Message-ID: <1347517696.e383073de5bef8932f86d4f7d3dd09e7b5fd0c87.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: dependencies.tex eapi-differences.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: e383073de5bef8932f86d4f7d3dd09e7b5fd0c87 X-VCS-Branch: master Date: Fri, 14 Sep 2012 06:14:47 +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: b24a393f-4204-491c-ad24-e6cbdaea41fb X-Archives-Hash: d45b7020174cf73957f232995a6a468a commit: e383073de5bef8932f86d4f7d3dd09e7b5fd0c87 Author: Ciaran McCreesh googlemail com> AuthorDate: Sun May 6 16:42:41 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu Sep 13 06:28:16 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=e383073d Slot operator dependencies are back in EAPI 5 This reverts commit 409fccc10861c361f37a959195d7581a5c376dd9. --- dependencies.tex | 27 ++++++++++++++++++++++----- eapi-differences.tex | 3 ++- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/dependencies.tex b/dependencies.tex index 4b4300c..8f78f3d 100644 --- a/dependencies.tex +++ b/dependencies.tex @@ -157,11 +157,11 @@ manager must warn or error if this feature is used with an EAPI not supporting u \multicolumn{1}{c}{\textbf{Supports \t{SLOT} dependencies?}} \\ \midrule \t{0} & No \\ - \t{1} & Yes \\ - \t{2} & Yes \\ - \t{3} & Yes \\ - \t{4} & Yes \\ - \t{5} & Yes \\ + \t{1} & Named only \\ + \t{2} & Named only \\ + \t{3} & Named only \\ + \t{4} & Named only \\ + \t{5} & Named and operator \\ \bottomrule \end{tabular} \end{centertable} @@ -244,6 +244,23 @@ specification with a named slot dependency matches only if the slot of the match to the slot specified. If the slot of the package to match cannot be determined (e.\,g.\ because it is not a supported \t{EAPI}), the match is treated as unsuccessful. +\featurelabel{slot-operator-deps} An operator slot dependency consists of a colon followed by one of +the following operators: + +\begin{description} +\item[*] Indicates that any slot value is acceptable. In addition, for runtime dependencies, +indicates that the package will not break if the matched package is uninstalled and replaced by +a different matching package in a different slot. +\item[=] Indicates that any slot value is acceptable. In addition, for runtime dependencies, +indicates that the package will break unless a matching package with slot equal to the slot of +the best installed version at the time the package was installed is available. +\end{description} + +To implement the equals slot operator, the package manager will need to store the slot of the +best installed version of the matching package. The package manager may do this by appending +the appropriate slot after the equals sign when saving the package's dependencies. This syntax +is only for package manager use and must not be used by ebuilds. + \subsubsection{2-Style and 4-Style Use Dependencies} \label{sec:use-dep} diff --git a/eapi-differences.tex b/eapi-differences.tex index 4578b73..83e2e58 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -59,7 +59,7 @@ No & No & Yes & Yes & Yes & Yes \\ Slot dependencies & \compactfeatureref{slot-deps} & - No & Yes & Yes & Yes & Yes & Yes \\ + No & Named & Named & Named & Named & Named and Operator \\ Use dependencies & \compactfeatureref{use-deps} & No & No & 2-style & 2-style & 4-style & 4-style \\ @@ -245,6 +245,7 @@ EAPI 4 is EAPI 3 with the following changes: EAPI 5 is EAPI 4 with the following changes: \begin{compactitem} +\item Slot operator dependencies, \featureref{slot-operator-deps}. \item \t{econf} adds \t{-{}-disable-silent-rules}, \featureref{econf-options}. \end{compactitem}