commit:     2cbc4f9937b584b17ef9715141d1f26b2da7b84e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 14:43:43 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 14:43:43 2021 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2cbc4f99

kde.org.eclass: Drop obsolete kdevelop* quirks, keep 5.6.2 supported

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/kde.org.eclass | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 638661c5e3..1b693adbad 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -222,14 +222,8 @@ _kde.org_calculate_src_uri() {
                        ;;
        esac
 
-       if [[ ${PN} == kdevelop* ]]; then
-               case ${PV} in
-                       *.*.[6-9]? )
-                               _src_uri+="unstable/kdevelop/${PV}/src/"
-                               RESTRICT+=" mirror"
-                               ;;
-                       *) _src_uri+="stable/kdevelop/${PV}/src/" ;;
-               esac
+       if [[ ${PN} == kdevelop* && ${PV} == 5.6.2 ]]; then
+               _src_uri+="stable/kdevelop/${PV}/src/"
        fi
 
        if [[ -n ${KDE_ORG_COMMIT} ]]; then
@@ -272,10 +266,6 @@ _kde.org_calculate_live_repo() {
                EGIT_BRANCH="Plasma/$(ver_cut 1-2)"
        fi
 
-       if [[ ${PV} != 9999 && ${PN} == kdevelop* ]]; then
-               EGIT_BRANCH="$(ver_cut 1-2)"
-       fi
-
        # @ECLASS-VARIABLE: EGIT_REPONAME
        # @DESCRIPTION:
        # This variable allows overriding of default repository

Reply via email to