Gentoo Archives: gentoo-dev

From: Florian Schmaus <flo@×××××××××.eu>
To: gentoo-dev@l.g.o
Cc: Florian Schmaus <flo@×××××××××.eu>
Subject: [gentoo-dev] [PATCH 1/3] rebar.eclass: fix @RETURN argument
Date: Mon, 12 Apr 2021 08:30:01
Message-Id: 20210412082902.162091-1-flo@geekplace.eu
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 Signed-off-by: Florian Schmaus <flo@×××××××××.eu>
6 ---
7 eclass/rebar.eclass | 4 +---
8 1 file changed, 1 insertion(+), 3 deletions(-)
9
10 diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass
11 index 7f712905c407..88c9ca74be73 100644
12 --- a/eclass/rebar.eclass
13 +++ b/eclass/rebar.eclass
14 @@ -53,9 +53,7 @@ get_erl_libs() {
15 # @FUNCTION: _rebar_find_dep
16 # @INTERNAL
17 # @USAGE: <project_name>
18 -# @RETURN: full path with EPREFIX to a Erlang package/project on success,
19 -# code 1 when dependency is not found and code 2 if multiple versions of
20 -# dependency are found.
21 +# @RETURN: full path with EPREFIX to Erlang package/project on success, code 1 when dependency is not found and code 2 if multiple versions of dependency are found.
22 # @DESCRIPTION:
23 # Find a Erlang package/project by name in Erlang lib directory. Project
24 # directory is usually suffixed with version. It is matched to '<project_name>'
25 --
26 2.30.2

Replies

Subject Author
[gentoo-dev] [PATCH 2/3] rebar.eclass: s,$1,${1}, Florian Schmaus <flo@×××××××××.eu>
[gentoo-dev] [PATCH 3/3] rebar.eclass: add support for EAPI 7 Florian Schmaus <flo@×××××××××.eu>
Re: [gentoo-dev] [PATCH 1/3] rebar.eclass: fix @RETURN argument Ulrich Mueller <ulm@g.o>
[gentoo-dev] [PATCH v2] rebar.eclass: fix @RETURN argument Florian Schmaus <flo@×××××××××.eu>