Gentoo Archives: gentoo-dev

From: Florian Schmaus <flo@×××××××××.eu>
To: gentoo-dev@l.g.o
Cc: Florian Schmaus <flo@×××××××××.eu>
Subject: [gentoo-dev] [PATCH v2] rebar.eclass: fix @RETURN argument
Date: Wed, 14 Apr 2021 20:09:26
Message-Id: 20210414200906.2269370-1-flo@geekplace.eu
In Reply to: [gentoo-dev] [PATCH 1/3] rebar.eclass: fix @RETURN argument by Florian Schmaus
1 Previously "pkgcheck scan rebar.class" would complain about
2
3 EclassDocError: rebar: failed parsing eclass docs: '@RETURN:', line 61: non-inline arg
4
5 Thanks to Ulrich Müller for providing feedback.
6
7 Signed-off-by: Florian Schmaus <flo@×××××××××.eu>
8 ---
9 eclass/rebar.eclass | 4 +---
10 1 file changed, 1 insertion(+), 3 deletions(-)
11
12 diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass
13 index 7f712905c407..f43c036b22ea 100644
14 --- a/eclass/rebar.eclass
15 +++ b/eclass/rebar.eclass
16 @@ -53,9 +53,7 @@ get_erl_libs() {
17 # @FUNCTION: _rebar_find_dep
18 # @INTERNAL
19 # @USAGE: <project_name>
20 -# @RETURN: full path with EPREFIX to a Erlang package/project on success,
21 -# code 1 when dependency is not found and code 2 if multiple versions of
22 -# dependency are found.
23 +# @RETURN: 0 success, 1 dependency not found, 2 multiple versions found
24 # @DESCRIPTION:
25 # Find a Erlang package/project by name in Erlang lib directory. Project
26 # directory is usually suffixed with version. It is matched to '<project_name>'
27 --
28 2.30.2