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 66F32138350 for ; Thu, 23 Jan 2020 07:47:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9530CE0729; Thu, 23 Jan 2020 07:47:13 +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 75BE5E0729 for ; Thu, 23 Jan 2020 07:47:13 +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 DA3A734E3CB for ; Thu, 23 Jan 2020 07:47:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F29CA3 for ; Thu, 23 Jan 2020 07:47:09 +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: <1579737661.68aff5730fe3477bfb4f0990008e620964792b92.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: general-concepts/dependencies/ X-VCS-Repository: proj/devmanual X-VCS-Files: general-concepts/dependencies/text.xml X-VCS-Directories: general-concepts/dependencies/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 68aff5730fe3477bfb4f0990008e620964792b92 X-VCS-Branch: master Date: Thu, 23 Jan 2020 07:47:09 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 43aca16a-a6a4-49f9-9e52-61e8527ca493 X-Archives-Hash: 0467ebf8112c63a3a800e9dd03fd91aa commit: 68aff5730fe3477bfb4f0990008e620964792b92 Author: Ulrich Müller gentoo org> AuthorDate: Mon Jan 20 20:35:13 2020 +0000 Commit: Ulrich Müller gentoo 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 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. -
-Legacy Inverse USE-Conditional Dependency Syntax - - -

- Once upon a time the : conditional operator was allowed in *DEPEND: -

- - -DEPEND="use-flag? ( app-misc/foo ) : ( app-misc/bar )" - - -

-This syntax is no longer permitted. It is exactly equivalent to the -following, which should be used instead: -

- - -DEPEND="use-flag? ( app-misc/foo ) - !use-flag? ( app-misc/bar )" - - -

-It is useful to recognise the legacy syntax and to know that it is no longer -valid. -

- - -
-
Test Dependencies