public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Schmaus <flo@geekplace.eu>
To: gentoo-dev@lists.gentoo.org
Cc: Florian Schmaus <flo@geekplace.eu>
Subject: [gentoo-dev] [PATCH v2] rebar.eclass: fix @RETURN argument
Date: Wed, 14 Apr 2021 22:09:06 +0200	[thread overview]
Message-ID: <20210414200906.2269370-1-flo@geekplace.eu> (raw)
In-Reply-To: <20210412082902.162091-1-flo@geekplace.eu>

Previously "pkgcheck scan rebar.class" would complain about

EclassDocError: rebar: failed parsing eclass docs: '@RETURN:', line 61: non-inline arg

Thanks to Ulrich Müller for providing feedback.

Signed-off-by: Florian Schmaus <flo@geekplace.eu>
---
 eclass/rebar.eclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass
index 7f712905c407..f43c036b22ea 100644
--- a/eclass/rebar.eclass
+++ b/eclass/rebar.eclass
@@ -53,9 +53,7 @@ get_erl_libs() {
 # @FUNCTION: _rebar_find_dep
 # @INTERNAL
 # @USAGE: <project_name>
-# @RETURN: full path with EPREFIX to a Erlang package/project on success,
-# code 1 when dependency is not found and code 2 if multiple versions of
-# dependency are found.
+# @RETURN: 0 success, 1 dependency not found, 2 multiple versions found
 # @DESCRIPTION:
 # Find a Erlang package/project by name in Erlang lib directory. Project
 # directory is usually suffixed with version. It is matched to '<project_name>'
-- 
2.30.2



      parent reply	other threads:[~2021-04-14 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12  8:29 [gentoo-dev] [PATCH 1/3] rebar.eclass: fix @RETURN argument Florian Schmaus
2021-04-12  8:29 ` [gentoo-dev] [PATCH 2/3] rebar.eclass: s,$1,${1}, Florian Schmaus
2021-04-12  8:29 ` [gentoo-dev] [PATCH 3/3] rebar.eclass: add support for EAPI 7 Florian Schmaus
2021-04-12 10:30 ` [gentoo-dev] [PATCH 1/3] rebar.eclass: fix @RETURN argument Ulrich Mueller
2021-04-14 20:09 ` Florian Schmaus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210414200906.2269370-1-flo@geekplace.eu \
    --to=flo@geekplace.eu \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox