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 ABE1D138335 for ; Thu, 31 Jan 2019 10:21:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8F27E0A52; Thu, 31 Jan 2019 10:21:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 956EFE0A52 for ; Thu, 31 Jan 2019 10:21:05 +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 86456335D29 for ; Thu, 31 Jan 2019 10:21:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 002BE52B for ; Thu, 31 Jan 2019 10:21:02 +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: <1548930042.e0a52efbf71db63575ecccc611590726c824e934.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: e0a52efbf71db63575ecccc611590726c824e934 X-VCS-Branch: master Date: Thu, 31 Jan 2019 10:21:02 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b80f07d6-ed4f-4cc8-8600-b7f1afa7169b X-Archives-Hash: 25f89ad0e73c559aca5c961aae52aac2 commit: e0a52efbf71db63575ecccc611590726c824e934 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jan 30 21:52:58 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jan 31 10:20:42 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=e0a52efb kde5-functions.eclass: Cleanup _add_category_dep slot def There's no SLOT 4 for a long time. Signed-off-by: Andreas Sturmlechner gentoo.org> 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 8860f3f068..6ad74bd966 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -144,7 +144,7 @@ _add_category_dep() { if [[ -n ${slot} ]] ; then slot=":${slot}" - elif [[ ${SLOT%\/*} = 4 || ${SLOT%\/*} = 5 ]] && ! has kde5-meta-pkg ${INHERITED} ; then + elif [[ ${SLOT%\/*} = 5 ]] ; then slot=":${SLOT%\/*}" fi