commit:     8c7a7b74d88e5ed0af4c3ad024a34765da8874d4
Author:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 14 07:02:43 2020 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 07:06:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c7a7b74

net-im/profanity: fix repoman warning

RDEPEND.suspect               1
 net-im/profanity/profanity-0.9.5.ebuild: 'test?' USE conditional in RDEPEND

The problem was RDEPEND was set to the contents of DEPEND, which now had

    test? ( dev-util/cmocka )

clause in it, which doesn't make sense for RDEPEND.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>

 net-im/profanity/profanity-0.9.5.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-im/profanity/profanity-0.9.5.ebuild 
b/net-im/profanity/profanity-0.9.5.ebuild
index 4de859fde22..691c34a8249 100644
--- a/net-im/profanity/profanity-0.9.5.ebuild
+++ b/net-im/profanity/profanity-0.9.5.ebuild
@@ -14,7 +14,7 @@ KEYWORDS="~amd64"
 IUSE="libnotify omemo otr gpg test xscreensaver"
 RESTRICT="!test? ( test )"
 
-DEPEND="
+COMMON_DEPEND="
        dev-db/sqlite
        dev-libs/expat
        dev-libs/glib
@@ -30,12 +30,14 @@ DEPEND="
                dev-libs/libgcrypt
        )
        otr? ( net-libs/libotr )
-       test? ( dev-util/cmocka )
        xscreensaver? (
                x11-libs/libXScrnSaver
                x11-libs/libX11 )
        "
-RDEPEND="${DEPEND}"
+DEPEND="${COMMON_DEPEND}
+       test? ( dev-util/cmocka )
+"
+RDEPEND="${COMMON_DEPEND}"
 
 src_configure() {
        econf \

Reply via email to