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 5AAD3138334 for ; Wed, 22 May 2019 19:40:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C1B7E077F; Wed, 22 May 2019 19:40:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 34A8BE077F for ; Wed, 22 May 2019 19:40:26 +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 94F28344E2C for ; Wed, 22 May 2019 19:40:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F50857E for ; Wed, 22 May 2019 19:40:23 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1558553936.059da2527181ec9173f2addf8ac9ec2ce0fd704d.gokturk@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/variables/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/variables/text.xml X-VCS-Directories: ebuild-writing/variables/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 059da2527181ec9173f2addf8ac9ec2ce0fd704d X-VCS-Branch: master Date: Wed, 22 May 2019 19:40:23 +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: 0a850856-e005-42bd-8cdf-06147fe28d03 X-Archives-Hash: 75218cdb72576d1341721fa62f1ccd17 commit: 059da2527181ec9173f2addf8ac9ec2ce0fd704d Author: Michał Górny gentoo org> AuthorDate: Mon Jun 18 10:12:12 2018 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Wed May 22 19:38:56 2019 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=059da252 ebuild-writing/variables: Stop encouraging empty USE_EXPAND hack Remove the suggestion that 'no flags = all options'. We certainly aren't doing it these days, and the problem is better resolved with defaulting USE_EXPAND and/or REQUIRED_USE these days. ebuild-writing/variables/text.xml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml index e63c8ff..811be44 100644 --- a/ebuild-writing/variables/text.xml +++ b/ebuild-writing/variables/text.xml @@ -370,23 +370,6 @@ SRC_URI="https://example.com/files/${P}-core.tar.bz2 doc? ( https://example.com/files/${P}/${P}-docs.tar.bz2 )" -

-If a USE_EXPAND variable is used to control whether certain optional -components are installed, the correct thing to do if the variable is unset is -generally to install all available components. -

- - -SRC_URI="https://example.com/files/${P}-core.tar.bz2 - examplecards_foo? ( https://example.com/files/${P}-foo.tar.bz2 ) - examplecards_bar? ( https://example.com/files/${P}-bar.tar.bz2 ) - examplecards_baz? ( https://example.com/files/${P}-baz.tar.bz2 ) - !examplecards_foo? ( !examplecards_bar? ( !examplecards_baz? ( - https://example.com/files/${P}-foo.tar.bz2 - https://example.com/files/${P}-bar.tar.bz2 - https://example.com/files/${P}-baz.tar.bz2 ) ) )" - -