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 61E301396D0 for ; Sun, 8 Oct 2017 19:14:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69147E0FB7; Sun, 8 Oct 2017 19:13:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 396CDE0FB7 for ; Sun, 8 Oct 2017 19:13:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 9757D33BF43 for ; Sun, 8 Oct 2017 19:13:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A4E983F7 for ; Sun, 8 Oct 2017 19:13:56 +0000 (UTC) From: "Ulrich Müller" 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" Message-ID: <1507489884.693019a78e99a0329b0609c01b0bad3e4b037027.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master 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: 693019a78e99a0329b0609c01b0bad3e4b037027 X-VCS-Branch: master Date: Sun, 8 Oct 2017 19:13:56 +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: d257a532-0452-4153-9b6f-52fd556c1f10 X-Archives-Hash: 85bb7719eb8855a5ad3499f349f9297b commit: 693019a78e99a0329b0609c01b0bad3e4b037027 Author: Ulrich Müller gentoo org> AuthorDate: Mon Oct 2 16:52:41 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Oct 8 19:11:24 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=693019a7 Ban empty groups in dependency specifications. The specification for empty groups was originally added to match historical Portage behaviour. However, Portage was changed in 2011 to treat empty dependency groups as an error, therefore ebuilds cannot rely on any definite behaviour. Consequently, empty groups are not used by any ebuild or eclass in the Gentoo repository. Note that the explicit handling for empty groups is still retained for the case of implicit empty groups resulting from collapsing USE conditionals in any-of groups et al. This is a retroactive change for all EAPIs. Bug: https://bugs.gentoo.org/370565 dependencies.tex | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dependencies.tex b/dependencies.tex index 1aea135..ed3ea01 100644 --- a/dependencies.tex +++ b/dependencies.tex @@ -60,33 +60,33 @@ be surrounded on both sides by whitespace, except at the start and end of the st \item A use flag name, optionally preceded by an exclamation mark. Permitted in \t{REQUIRED_USE}. \item A simple string. Permitted in \t{RESTRICT} and \t{PROPERTIES}. \item An all-of group, which consists of an open parenthesis, followed by whitespace, - followed by zero or more of (a dependency item of any kind followed by whitespace), followed + followed by one or more of (a dependency item of any kind followed by whitespace), followed by a close parenthesis. More formally: - \t{all-of} \t{::=} \t{'(' whitespace (item whitespace)* ')'}. Permitted in all specification + \t{all-of} \t{::=} \t{'(' whitespace (item whitespace)+ ')'}. Permitted in all specification style variables. \item An any-of group, which consists of the string \t{||}, followed by whitespace, - followed by an open parenthesis, followed by whitespace, followed by zero or more + followed by an open parenthesis, followed by whitespace, followed by one or more of (a dependency item of any kind followed by whitespace), followed by a close parenthesis. - More formally: \t{any-of} \t{::=} \t{'||' whitespace '(' whitespace (item whitespace)* ')'}. + More formally: \t{any-of} \t{::=} \t{'||' whitespace '(' whitespace (item whitespace)+ ')'}. Permitted in \t{DEPEND}, \t{RDEPEND}, \t{PDEPEND}, \t{LICENSE}, \t{REQUIRED_USE}. \item An exactly-one-of group, which consists of the string \t{\textasciicircum\textasciicircum}, followed by whitespace, followed by an open parenthesis, followed by whitespace, followed by - zero or more of (a dependency item of any kind followed by whitespace), followed by a close + one or more of (a dependency item of any kind followed by whitespace), followed by a close parenthesis. More formally: \t{exactly-one-of} \t{::=} \t{'\textasciicircum\textasciicircum' - whitespace '(' whitespace (item whitespace)* ')'}. + whitespace '(' whitespace (item whitespace)+ ')'}. Permitted in \t{REQUIRED_USE}. \item \featurelabel{at-most-one-of} An at-most-one-of group, which consists of the string \t{??}, followed by whitespace, followed by an open parenthesis, followed by whitespace, followed by - zero or more of (a dependency item of any kind followed by whitespace), followed by a close + one or more of (a dependency item of any kind followed by whitespace), followed by a close parenthesis. More formally: \t{at-most-one-of} \t{::=} \t{'??'\ whitespace '(' whitespace - (item whitespace)* ')'}. Permitted in \t{REQUIRED_USE} in EAPIs listed in + (item whitespace)+ ')'}. Permitted in \t{REQUIRED_USE} in EAPIs listed in table~\ref{tab:at-most-one-of-table} as supporting \t{REQUIRED_USE ??}\ groups. \item A use-conditional group, which consists of an optional exclamation mark, followed by a use flag name, followed by a question mark, followed by whitespace, followed by - an open parenthesis, followed by whitespace, followed by zero or more of (a dependency item + an open parenthesis, followed by whitespace, followed by one or more of (a dependency item of any kind followed by whitespace), followed by a close parenthesis. More formally: \t{use-conditional} \t{::=} \t{'!'?\ flag-name '?'\ whitespace '(' whitespace (item - whitespace)* ')'}. + whitespace)+ ')'}. Permitted in all specification style variables. \end{compactitem}