commit:     98382d0b8d544a03152b1ae44bbdba8b65cc7c2d
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 28 16:37:40 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 16:37:40 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=98382d0b

[eclass] Fix handling of frameworks version dependencies within kde-frameworks.

Using >=${PV} broke when a framework that depends on other frameworks had a
patch release. For example, plasma-5.3.1 would try to pull in karchive-5.3.1
even though it doesn't exist (X.Y.0 releases are made together and X.Y.Z
releases are made per-framework as needed).

---
 eclass/kde5-functions.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index 564dce8..4466276 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -118,7 +118,7 @@ add_frameworks_dep() {
        if [[ -n ${3} ]]; then
                version=${3}
        elif [[ ${CATEGORY} = kde-frameworks ]]; then
-               version=${PV}
+               version=$(get_version_component_range 1-2)
        elif [[ ${CATEGORY} = kde-base ]]; then
                case $(get_kde_version) in
                        5.1) version=5.3.0 ;;

Reply via email to