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 2D197138359 for ; Mon, 7 Sep 2020 15:07:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A87BCE0975; Mon, 7 Sep 2020 15:07:51 +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 8B57AE0975 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 A9C53340DE1 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 316F4377 for ; Mon, 7 Sep 2020 15:07:47 +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.30e96d7e6351e523794517a6611cbe46c36e1fc3.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop/ X-VCS-Repository: proj/kde X-VCS-Files: dev-util/kdevelop/kdevelop-5.6.9999.ebuild dev-util/kdevelop/kdevelop-9999.ebuild X-VCS-Directories: dev-util/kdevelop/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 30e96d7e6351e523794517a6611cbe46c36e1fc3 X-VCS-Branch: master Date: Mon, 7 Sep 2020 15:07:47 +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: 5416f0f0-74f2-4807-94a7-9e44ab4a9f14 X-Archives-Hash: 1abf314f6427cf4ea2e8b8b8fa9c49f7 commit: 30e96d7e6351e523794517a6611cbe46c36e1fc3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Sep 7 14:47:27 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=30e96d7e dev-util/kdevelop: Use optfeature Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/kdevelop/kdevelop-5.6.9999.ebuild | 30 +++++++++--------------------- dev-util/kdevelop/kdevelop-9999.ebuild | 30 +++++++++--------------------- 2 files changed, 18 insertions(+), 42 deletions(-) diff --git a/dev-util/kdevelop/kdevelop-5.6.9999.ebuild b/dev-util/kdevelop/kdevelop-5.6.9999.ebuild index 5a3edac39a..192094f00d 100644 --- a/dev-util/kdevelop/kdevelop-5.6.9999.ebuild +++ b/dev-util/kdevelop/kdevelop-5.6.9999.ebuild @@ -10,7 +10,7 @@ KFMIN=5.70.0 QTMIN=5.12.3 VIRTUALDBUS_TEST="true" VIRTUALX_REQUIRED="test" -inherit ecm kde.org +inherit ecm kde.org optfeature DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" HOMEPAGE="https://www.kdevelop.org/" @@ -121,25 +121,13 @@ src_configure() { } pkg_postinst() { - ecm_pkg_postinst - - if ! has_version "kde-apps/konsole" ; then - elog "For konsole view, please install kde-apps/konsole" - fi - - if ! has_version "dev-util/cppcheck" ; then - elog "For static C/C++ code analysis support, please install dev-util/cppcheck" - fi - - if ! has_version "dev-util/heaptrack[qt5]" ; then - elog "For heap memory profiling support, please install dev-util/heaptrack" - fi - - if ! has_version "dev-util/clazy" ; then - elog "For static C++ Qt code analysis support, please install dev-util/clazy" - fi - - if ! has_version ">=dev-util/meson-0.51" ; then - elog "For the Meson Project manager plugin, please install dev-util/meson" + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "konsole view" kde-apps/konsole + optfeature "Static C++ Qt code analysis" dev-util/clazy + optfeature "Static C/C++ code analysis" dev-util/cppcheck + optfeature "Heap memory profiling" dev-util/heaptrack[qt5] + optfeature "Meson Project manager plugin" >=dev-util/meson-0.51 fi + ecm_pkg_postinst } diff --git a/dev-util/kdevelop/kdevelop-9999.ebuild b/dev-util/kdevelop/kdevelop-9999.ebuild index 5a3edac39a..192094f00d 100644 --- a/dev-util/kdevelop/kdevelop-9999.ebuild +++ b/dev-util/kdevelop/kdevelop-9999.ebuild @@ -10,7 +10,7 @@ KFMIN=5.70.0 QTMIN=5.12.3 VIRTUALDBUS_TEST="true" VIRTUALX_REQUIRED="test" -inherit ecm kde.org +inherit ecm kde.org optfeature DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" HOMEPAGE="https://www.kdevelop.org/" @@ -121,25 +121,13 @@ src_configure() { } pkg_postinst() { - ecm_pkg_postinst - - if ! has_version "kde-apps/konsole" ; then - elog "For konsole view, please install kde-apps/konsole" - fi - - if ! has_version "dev-util/cppcheck" ; then - elog "For static C/C++ code analysis support, please install dev-util/cppcheck" - fi - - if ! has_version "dev-util/heaptrack[qt5]" ; then - elog "For heap memory profiling support, please install dev-util/heaptrack" - fi - - if ! has_version "dev-util/clazy" ; then - elog "For static C++ Qt code analysis support, please install dev-util/clazy" - fi - - if ! has_version ">=dev-util/meson-0.51" ; then - elog "For the Meson Project manager plugin, please install dev-util/meson" + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "konsole view" kde-apps/konsole + optfeature "Static C++ Qt code analysis" dev-util/clazy + optfeature "Static C/C++ code analysis" dev-util/cppcheck + optfeature "Heap memory profiling" dev-util/heaptrack[qt5] + optfeature "Meson Project manager plugin" >=dev-util/meson-0.51 fi + ecm_pkg_postinst }