commit:     f1a71da1d7f1fbbf07db31ecb3c7e2520e83e627
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  5 21:56:18 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Sep  7 13:58:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a71da1

kde.org.eclass: Support different dev-qt stable branch PV

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

 eclass/kde.org.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index bf087dfc8a6..9e357001a97 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -260,7 +260,7 @@ _kde.org_calculate_live_repo() {
        # (anongit) with anything else you might want to use.
        EGIT_MIRROR=${EGIT_MIRROR:=https://invent.kde.org/${KDE_ORG_CATEGORY}}
 
-       if [[ ${PV} == ?.??.9999 && ${CATEGORY} == dev-qt ]]; then
+       if [[ ${PV} == 5.??(.?)*.9999 && ${CATEGORY} == dev-qt ]]; then
                EGIT_BRANCH="kde/$(ver_cut 1-2)"
        fi
 

Reply via email to