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 C4C3713933E for ; Sun, 1 Aug 2021 02:38:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58FBAE096D; Sun, 1 Aug 2021 02:38:50 +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 38594E096D for ; Sun, 1 Aug 2021 02:38:50 +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 E156B343995 for ; Sun, 1 Aug 2021 02:38:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A6AA84D for ; Sun, 1 Aug 2021 02:38:47 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1627785518.3a00a5fc63342e1a2a5e01ce2db232e5d21f2c3f.sam@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/common-mistakes/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/common-mistakes/text.xml X-VCS-Directories: ebuild-writing/common-mistakes/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3a00a5fc63342e1a2a5e01ce2db232e5d21f2c3f X-VCS-Branch: master Date: Sun, 1 Aug 2021 02:38: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1fd4aa1e-bc37-4b7f-b507-28bbc694f60d X-Archives-Hash: 80408574694e8a5cb3c484d495330c58 commit: 3a00a5fc63342e1a2a5e01ce2db232e5d21f2c3f Author: Sam James gentoo org> AuthorDate: Sat Apr 10 02:16:27 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Aug 1 02:38:38 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=3a00a5fc ebuild-writing/common-mistakes: mention leftover USE flags, inherits Suggested-by: Joonas Niilola gentoo.org> (inherits) Signed-off-by: Sam James gentoo.org> ebuild-writing/common-mistakes/text.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ebuild-writing/common-mistakes/text.xml b/ebuild-writing/common-mistakes/text.xml index ce4bc95..1969efe 100644 --- a/ebuild-writing/common-mistakes/text.xml +++ b/ebuild-writing/common-mistakes/text.xml @@ -378,6 +378,19 @@ Make sure when you bump a version, the stable KEYWORDS are all marked as ~.

+ + + +Unused flags and eclass inherits + + +

+Sometimes obsolete USE flags remain in IUSE despite having no function, e.g. a +dependency may have become mandatory but the USE flag remains in IUSE and *DEPEND. +Similarly, eclasses often become redundant due to changes in the ebuild, or new EAPIs, +e.g. eutils.eclass should be obsolete in modern EAPIs. Remember to prune these. +

+