From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E0941139694 for ; Sat, 3 Jun 2017 16:52:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49A8EE0BF4; Sat, 3 Jun 2017 16:52:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 27221E0BF4 for ; Sat, 3 Jun 2017 16:52:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1317134183A for ; Sat, 3 Jun 2017 16:52:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78BC6745E for ; Sat, 3 Jun 2017 16:52:50 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1496508745.6da474acfd758447e7b8de64a67d38e10da588fa.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5-functions.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 6da474acfd758447e7b8de64a67d38e10da588fa X-VCS-Branch: master Date: Sat, 3 Jun 2017 16:52:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 80e243df-133a-47d2-a4e4-337cdee3c2e5 X-Archives-Hash: 2949b7ccba22a8830786393a85661972 commit: 6da474acfd758447e7b8de64a67d38e10da588fa Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jun 3 16:52:25 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 3 16:52:25 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6da474ac kde5-functions.eclass: Fix KDE Plasma 5.8 LTS dependencies eclass/kde5-functions.eclass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index b255cc88e6..62a806fadc 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -154,10 +154,9 @@ _add_category_dep() { if [[ -z ${operator} ]] ; then operator=">=" fi - if [[ ${operator} = ">=" ]] ; then - version="-$(get_version_component_range 1-3 ${version})" - else - version="-${version}" + version="-$(get_version_component_range 1-3 ${version})" + if [[ ${operator} = "=" ]] ; then + version="${version}*" fi fi @@ -229,7 +228,7 @@ add_plasma_dep() { elif [[ ${CATEGORY} = kde-plasma ]]; then version=${PV} if [[ ${PV} = 5.8* ]] ; then - operator="~" + operator="=" fi elif [[ -z "${version}" ]] ; then version=${PLASMA_MINIMAL}