commit: 68aff5730fe3477bfb4f0990008e620964792b92 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Mon Jan 20 20:35:13 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Jan 23 00:01:01 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=68aff573
general-concepts/dependencies: Drop section on if-else USE blocks. If-else USE blocks, i.e. "Legacy Inverse USE-Conditional Dependency Syntax", have been abandoned before EAPI was introduced. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> general-concepts/dependencies/text.xml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml index 9f2cc47..4e3a84e 100644 --- a/general-concepts/dependencies/text.xml +++ b/general-concepts/dependencies/text.xml @@ -536,36 +536,6 @@ presence or absence. </subsection> </section> -<section> -<title>Legacy Inverse USE-Conditional Dependency Syntax</title> -<body> - -<p> - Once upon a time the <c>:</c> conditional operator was allowed in <c>*DEPEND</c>: -</p> - -<codesample lang="ebuild"> -DEPEND="use-flag? ( app-misc/foo ) : ( app-misc/bar )" -</codesample> - -<p> -<b>This syntax is no longer permitted</b>. It is exactly equivalent to the -following, which should be used instead: -</p> - -<codesample lang="ebuild"> -DEPEND="use-flag? ( app-misc/foo ) - !use-flag? ( app-misc/bar )" -</codesample> - -<p> -It is useful to recognise the legacy syntax and to know that it is no longer -valid. -</p> - -</body> -</section> - <section> <title>Test Dependencies</title> <body>