summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-02 01:19:08 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-13 04:00:28 +1100
commitc5dc79a17743209071c7fa25db3b4f8a97d74034 (patch)
treed9f318905585232a48e3a78837d3ac6d1c1d6ad2 /eclass
parentkde-apps: Move kdesdk-meta-15.12.2 and deps from kde overlay (diff)
downloadgentoo-c5dc79a17743209071c7fa25db3b4f8a97d74034.tar.gz
gentoo-c5dc79a17743209071c7fa25db3b4f8a97d74034.tar.bz2
gentoo-c5dc79a17743209071c7fa25db3b4f8a97d74034.zip
kde5.eclass: Drop KDE_SCM=svn support
It's not used by any kf5 based ebuild anymore.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5-functions.eclass2
-rw-r--r--eclass/kde5.eclass31
2 files changed, 1 insertions, 32 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index ffdac918e4df..ea894ad39f5d 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 1caeb38e1692..bc5b03a82b57 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
;;