From bd3ef27b288bb92f7ec19a043f5dd1d3a84d072c Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 11 Nov 2021 15:43:43 +0100 Subject: kde.org.eclass: Drop obsolete kdevelop* quirks, keep 5.6.2 supported Signed-off-by: Andreas Sturmlechner --- eclass/kde.org.eclass | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'eclass') diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 9e357001a970..4128e1238d29 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 -- cgit v1.2.3-65-gdbad