aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-10 02:16:27 +0000
committerSam James <sam@gentoo.org>2021-08-01 03:38:38 +0100
commit3a00a5fc63342e1a2a5e01ce2db232e5d21f2c3f (patch)
tree4d2f4dcf7b9e8e157c7e3b6dcf5c8d6483d8b3b5 /ebuild-writing
parentebuild-writing/common-mistakes: mention HTTPS for HOMEPAGE (diff)
downloaddevmanual-3a00a5fc63342e1a2a5e01ce2db232e5d21f2c3f.tar.gz
devmanual-3a00a5fc63342e1a2a5e01ce2db232e5d21f2c3f.tar.bz2
devmanual-3a00a5fc63342e1a2a5e01ce2db232e5d21f2c3f.zip
ebuild-writing/common-mistakes: mention leftover USE flags, inherits
Suggested-by: Joonas Niilola <juippis@gentoo.org> (inherits) Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'ebuild-writing')
-rw-r--r--ebuild-writing/common-mistakes/text.xml13
1 files changed, 13 insertions, 0 deletions
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
@@ -381,6 +381,19 @@ Make sure when you bump a version, the stable KEYWORDS are all marked as
</body>
</subsection>
<subsection>
+<title>Unused flags and eclass inherits</title>
+<body>
+
+<p>
+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. <c>eutils.eclass</c> should be obsolete in modern EAPIs. Remember to prune these.
+</p>
+
+</body>
+</subsection>
+<subsection>
<title>SLOT missing</title>
<body>