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 800EC138359 for ; Mon, 7 Sep 2020 15:07:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0921E094A; Mon, 7 Sep 2020 15:07:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 AAD70E094A for ; Mon, 7 Sep 2020 15:07:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CEF97340DD6 for ; Mon, 7 Sep 2020 15:07:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0462B357 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: <1599491149.8c132ae2a923e7e6df934dccbe34220776203e20.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kate/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/kate/kate-20.08.49.9999.ebuild kde-apps/kate/kate-9999.ebuild X-VCS-Directories: kde-apps/kate/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 8c132ae2a923e7e6df934dccbe34220776203e20 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: 6bb63147-b932-45b1-80f6-647ff3da7285 X-Archives-Hash: b00d1c84824708018dd6f4a32c98b482 commit: 8c132ae2a923e7e6df934dccbe34220776203e20 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Sep 7 14:00:25 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Sep 7 15:05:49 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=8c132ae2 kde-apps/kate: Use optfeature Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-apps/kate/kate-20.08.49.9999.ebuild | 11 +++++------ kde-apps/kate/kate-9999.ebuild | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/kde-apps/kate/kate-20.08.49.9999.ebuild b/kde-apps/kate/kate-20.08.49.9999.ebuild index 88c8a7b98c..f16cc7feef 100644 --- a/kde-apps/kate/kate-20.08.49.9999.ebuild +++ b/kde-apps/kate/kate-20.08.49.9999.ebuild @@ -8,7 +8,7 @@ ECM_TEST="true" KFMIN=5.72.0 QTMIN=5.14.2 VIRTUALX_REQUIRED="test" -inherit ecm kde.org +inherit ecm kde.org optfeature DESCRIPTION="Multi-document editor with network transparency, Plasma integration and more" HOMEPAGE="https://kate-editor.org/ @@ -98,11 +98,10 @@ src_test() { } pkg_postinst() { - ecm_pkg_postinst - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "The functionality of ktexteditorpreview plugin can be extended with:" - elog " kde-misc/markdownpart or kde-misc/kmarkdownwebview" - elog " media-gfx/kgraphviewer" + elog "Optional dependencies:" + optfeature "Markdown text previews" kde-misc/markdownpart:${SLOT} kde-misc/kmarkdownwebview:${SLOT} + optfeature "DOT graph file previews" media-gfx/kgraphviewer fi + ecm_pkg_postinst } diff --git a/kde-apps/kate/kate-9999.ebuild b/kde-apps/kate/kate-9999.ebuild index 59b1cf30d8..712027bb95 100644 --- a/kde-apps/kate/kate-9999.ebuild +++ b/kde-apps/kate/kate-9999.ebuild @@ -8,7 +8,7 @@ ECM_TEST="true" KFMIN=5.73.0 QTMIN=5.14.2 VIRTUALX_REQUIRED="test" -inherit ecm kde.org +inherit ecm kde.org optfeature DESCRIPTION="Multi-document editor with network transparency, Plasma integration and more" HOMEPAGE="https://kate-editor.org/ @@ -98,11 +98,10 @@ src_test() { } pkg_postinst() { - ecm_pkg_postinst - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "The functionality of ktexteditorpreview plugin can be extended with:" - elog " kde-misc/markdownpart or kde-misc/kmarkdownwebview" - elog " media-gfx/kgraphviewer" + elog "Optional dependencies:" + optfeature "Markdown text previews" kde-misc/markdownpart:${SLOT} kde-misc/kmarkdownwebview:${SLOT} + optfeature "DOT graph file previews" media-gfx/kgraphviewer fi + ecm_pkg_postinst }