Signed-off-by: Ulrich Müller <u...@gentoo.org>
---
 eclass/kde.org.eclass | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 8e0c97f0ec00..b38ca5a024ab 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: kde.org.eclass
@@ -137,6 +137,16 @@ esac
 # a proper error message via pkg_nofetch.
 KDE_UNRELEASED=( )
 
+# @ECLASS_VARIABLE: EGIT_MIRROR
+# @DESCRIPTION:
+# This variable allows easy overriding of default kde mirror service
+# (anongit) with anything else you might want to use.
+
+# @ECLASS_VARIABLE: EGIT_REPONAME
+# @DESCRIPTION:
+# This variable allows overriding of default repository name.
+# Specify only if this differs from PN and KDE_ORG_NAME.
+
 HOMEPAGE="https://kde.org/";
 
 case ${CATEGORY} in
@@ -249,10 +259,6 @@ _kde.org_calculate_live_repo() {
 
        SRC_URI=""
 
-       # @ECLASS_VARIABLE: EGIT_MIRROR
-       # @DESCRIPTION:
-       # This variable allows easy overriding of default kde mirror service
-       # (anongit) with anything else you might want to use.
        EGIT_MIRROR=${EGIT_MIRROR:=https://invent.kde.org/${KDE_ORG_CATEGORY}}
 
        if [[ ${PV} == 5.??(.?)*.9999 && ${CATEGORY} == dev-qt ]]; then
@@ -267,10 +273,6 @@ _kde.org_calculate_live_repo() {
                EGIT_BRANCH="Plasma/$(ver_cut 1-2)"
        fi
 
-       # @ECLASS_VARIABLE: EGIT_REPONAME
-       # @DESCRIPTION:
-       # This variable allows overriding of default repository
-       # name. Specify only if this differs from PN and KDE_ORG_NAME.
        EGIT_REPO_URI="${EGIT_MIRROR}/${EGIT_REPONAME:=$KDE_ORG_NAME}.git"
 }
 
-- 
2.35.1


Reply via email to