Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 12 May 2022 17:11:02
Message-Id: 1652375431.4470abdbf4e154a5b3c4a5c422cf22c8f82ba4bc.ulm@gentoo
1 commit: 4470abdbf4e154a5b3c4a5c422cf22c8f82ba4bc
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 9 13:49:23 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 12 17:10:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4470abdb
7
8 kde.org.eclass: Don't indent eclass documentation
9
10 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
11
12 eclass/kde.org.eclass | 20 +++++++++++---------
13 1 file changed, 11 insertions(+), 9 deletions(-)
14
15 diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
16 index 8e0c97f0ec00..b38ca5a024ab 100644
17 --- a/eclass/kde.org.eclass
18 +++ b/eclass/kde.org.eclass
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 # @ECLASS: kde.org.eclass
25 @@ -137,6 +137,16 @@ esac
26 # a proper error message via pkg_nofetch.
27 KDE_UNRELEASED=( )
28
29 +# @ECLASS_VARIABLE: EGIT_MIRROR
30 +# @DESCRIPTION:
31 +# This variable allows easy overriding of default kde mirror service
32 +# (anongit) with anything else you might want to use.
33 +
34 +# @ECLASS_VARIABLE: EGIT_REPONAME
35 +# @DESCRIPTION:
36 +# This variable allows overriding of default repository name.
37 +# Specify only if this differs from PN and KDE_ORG_NAME.
38 +
39 HOMEPAGE="https://kde.org/"
40
41 case ${CATEGORY} in
42 @@ -249,10 +259,6 @@ _kde.org_calculate_live_repo() {
43
44 SRC_URI=""
45
46 - # @ECLASS_VARIABLE: EGIT_MIRROR
47 - # @DESCRIPTION:
48 - # This variable allows easy overriding of default kde mirror service
49 - # (anongit) with anything else you might want to use.
50 EGIT_MIRROR=${EGIT_MIRROR:=https://invent.kde.org/${KDE_ORG_CATEGORY}}
51
52 if [[ ${PV} == 5.??(.?)*.9999 && ${CATEGORY} == dev-qt ]]; then
53 @@ -267,10 +273,6 @@ _kde.org_calculate_live_repo() {
54 EGIT_BRANCH="Plasma/$(ver_cut 1-2)"
55 fi
56
57 - # @ECLASS_VARIABLE: EGIT_REPONAME
58 - # @DESCRIPTION:
59 - # This variable allows overriding of default repository
60 - # name. Specify only if this differs from PN and KDE_ORG_NAME.
61 EGIT_REPO_URI="${EGIT_MIRROR}/${EGIT_REPONAME:=$KDE_ORG_NAME}.git"
62 }