Gentoo Archives: gentoo-dev

From: Thomas Bracht Laumann Jespersen <t@×××××××.xyz>
To: gentoo-dev@l.g.o
Cc: vim@g.o
Subject: Re: [gentoo-dev] [PATCH v3 4/8] vim-plugin.eclass: EAPI 8: add src_prepare
Date: Wed, 06 Apr 2022 14:26:25
Message-Id: 20220406142610.dwzbzn5mwlvnh4ix@sofaking
In Reply to: [gentoo-dev] [PATCH v3 4/8] vim-plugin.eclass: EAPI 8: add src_prepare by Anna Vyalkova
1 > +if ${_DEFINE_VIM_PLUGIN_SRC_PREPARE}; then
2 > +# @FUNCTION: vim-plugin_src_prepare
3 > +# @DESCRIPTION:
4 > +# Moves "after/syntax" plugins to directories to avoid file collisions with
5 > +# other packages.
6 > +# Note that this function is only defined and exported in EAPIs >= 8.
7 > +vim-plugin_src_prepare() {
8
9 The eclass writing guide [0] says that @USAGE is always required. But I see it
10 commonly omitted from phase function overrides.
11
12 [0]: https://devmanual.gentoo.org/eclass-writing/index.html#eclass-functions
13
14 -- Thomas