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 70B4F138359 for ; Mon, 7 Sep 2020 15:07:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82AACE0973; Mon, 7 Sep 2020 15:07:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 69B98E0972 for ; Mon, 7 Sep 2020 15:07:51 +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 8C91E340DF0 for ; Mon, 7 Sep 2020 15:07:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBED8370 for ; Mon, 7 Sep 2020 15:07:46 +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: <1599491150.30e0a64e178b542f9bcd45e0b8b0af1c273f9d0a.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/kdeplasma-addons/ X-VCS-Repository: proj/kde X-VCS-Files: kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild X-VCS-Directories: kde-plasma/kdeplasma-addons/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 30e0a64e178b542f9bcd45e0b8b0af1c273f9d0a X-VCS-Branch: master Date: Mon, 7 Sep 2020 15:07:46 +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: c481cc69-7cf0-4d72-b4f6-f8b05b664c33 X-Archives-Hash: c797e96624928953dc3412e1e2e870ad commit: 30e0a64e178b542f9bcd45e0b8b0af1c273f9d0a Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Sep 7 14:43:26 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Sep 7 15:05:50 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=30e0a64e kde-plasma/kdeplasma-addons: Use optfeature Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild index d2e7d69885..e63f9bbe33 100644 --- a/kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild +++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild @@ -8,7 +8,7 @@ KFMIN=9999 PVCUT=$(ver_cut 1-3) QTMIN=5.15.0 VIRTUALX_REQUIRED="test" -inherit ecm kde.org +inherit ecm kde.org optfeature DESCRIPTION="Extra Plasma applets and engines" @@ -67,10 +67,9 @@ src_configure() { } pkg_postinst() { - ecm_pkg_postinst - if [[ -z "${REPLACING_VERSIONS}" ]]; then - has_version sys-fs/quota || \ - elog "For using disk quota applet, install sys-fs/quota." + elog "Optional dependencies:" + optfeature "Disk quota applet" sys-fs/quota fi + ecm_pkg_postinst }