Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Tue, 28 Oct 2014 16:44:02
Message-Id: 1414514260.98382d0b8d544a03152b1ae44bbdba8b65cc7c2d.kensington@gentoo
1 commit: 98382d0b8d544a03152b1ae44bbdba8b65cc7c2d
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 28 16:37:40 2014 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 28 16:37:40 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=98382d0b
7
8 [eclass] Fix handling of frameworks version dependencies within kde-frameworks.
9
10 Using >=${PV} broke when a framework that depends on other frameworks had a
11 patch release. For example, plasma-5.3.1 would try to pull in karchive-5.3.1
12 even though it doesn't exist (X.Y.0 releases are made together and X.Y.Z
13 releases are made per-framework as needed).
14
15 ---
16 eclass/kde5-functions.eclass | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
20 index 564dce8..4466276 100644
21 --- a/eclass/kde5-functions.eclass
22 +++ b/eclass/kde5-functions.eclass
23 @@ -118,7 +118,7 @@ add_frameworks_dep() {
24 if [[ -n ${3} ]]; then
25 version=${3}
26 elif [[ ${CATEGORY} = kde-frameworks ]]; then
27 - version=${PV}
28 + version=$(get_version_component_range 1-2)
29 elif [[ ${CATEGORY} = kde-base ]]; then
30 case $(get_kde_version) in
31 5.1) version=5.3.0 ;;