commit:     c5dc79a17743209071c7fa25db3b4f8a97d74034
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Wed Mar  2 00:19:08 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 17:00:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5dc79a1

kde5.eclass: Drop KDE_SCM=svn support

It's not used by any kf5 based ebuild anymore.

 eclass/kde5-functions.eclass |  2 +-
 eclass/kde5.eclass           | 31 -------------------------------
 2 files changed, 1 insertion(+), 32 deletions(-)

diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index ffdac91..ea894ad 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -63,7 +63,7 @@ debug-print "${ECLASS}: ${KDEBASE} ebuild recognized"
 : ${KDE_SCM:=git}
 
 case ${KDE_SCM} in
-       svn|git) ;;
+       git) ;;
        *) die "KDE_SCM: ${KDE_SCM} is not supported" ;;
 esac
 

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 1caeb38..bc5b03a 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -23,7 +23,6 @@ inherit cmake-utils eutils flag-o-matic gnome2-utils 
kde5-functions versionator
 
 if [[ ${KDE_BUILD_TYPE} = live ]]; then
        case ${KDE_SCM} in
-               svn) inherit subversion ;;
                git) inherit git-r3 ;;
        esac
 fi
@@ -281,33 +280,6 @@ _calculate_live_repo() {
        SRC_URI=""
 
        case ${KDE_SCM} in
-               svn)
-                       # @ECLASS-VARIABLE: ESVN_MIRROR
-                       # @DESCRIPTION:
-                       # This variable allows easy overriding of default kde 
mirror service
-                       # (anonsvn) with anything else you might want to use.
-                       
ESVN_MIRROR=${ESVN_MIRROR:=svn://anonsvn.kde.org/home/kde}
-
-                       local branch_prefix="trunk/KDE"
-
-                       if [[ ${PV} == ??.??.49.9999 && ${CATEGORY} = kde-apps 
]]; then
-                               
branch_prefix="branches/Applications/$(get_version_component_range 1-2)"
-                       fi
-
-                       if [[ ${PV} != 9999 && ${CATEGORY} = kde-plasma ]]; then
-                               
branch_prefix="branches/plasma/$(get_version_component_range 1-2)"
-                       fi
-
-                       local _kmname
-
-                       if [[ -n ${KMNAME} ]]; then
-                               _kmname=${KMNAME}
-                       else
-                               _kmname=${PN}
-                       fi
-
-                       
ESVN_REPO_URI="${ESVN_MIRROR}/${branch_prefix}/${_kmname}"
-                       ;;
                git)
                        # @ECLASS-VARIABLE: EGIT_MIRROR
                        # @DESCRIPTION:
@@ -378,9 +350,6 @@ kde5_src_unpack() {
 
        if [[ ${KDE_BUILD_TYPE} = live ]]; then
                case ${KDE_SCM} in
-                       svn)
-                               subversion_src_unpack
-                               ;;
                        git)
                                git-r3_src_unpack
                                ;;

Reply via email to