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 1366113835A for ; Mon, 7 Sep 2020 15:07:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF7E6E0952; 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 D9D3EE095A for ; Mon, 7 Sep 2020 15:07:49 +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 0134D340DE6 for ; Mon, 7 Sep 2020 15:07:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53D6F360 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.a39b49d51fc9bbec40b7c8f79aed9ae4b4577d02.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/lokalize/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/lokalize/lokalize-20.08.49.9999.ebuild kde-apps/lokalize/lokalize-9999.ebuild X-VCS-Directories: kde-apps/lokalize/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a39b49d51fc9bbec40b7c8f79aed9ae4b4577d02 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: f80e052f-348f-4287-9160-04b3f921c901 X-Archives-Hash: 3342ff053b1b04c13a89bba2fd2ba6f0 commit: a39b49d51fc9bbec40b7c8f79aed9ae4b4577d02 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Sep 7 13:31:48 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=a39b49d5 kde-apps/lokalize: Use optfeature Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-apps/lokalize/lokalize-20.08.49.9999.ebuild | 9 +++++---- kde-apps/lokalize/lokalize-9999.ebuild | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/kde-apps/lokalize/lokalize-20.08.49.9999.ebuild b/kde-apps/lokalize/lokalize-20.08.49.9999.ebuild index 8947e072d9..2c4b0b64a0 100644 --- a/kde-apps/lokalize/lokalize-20.08.49.9999.ebuild +++ b/kde-apps/lokalize/lokalize-20.08.49.9999.ebuild @@ -7,7 +7,7 @@ ECM_HANDBOOK="forceoptional" PYTHON_COMPAT=( python3_{7,8} ) KFMIN=5.72.0 QTMIN=5.14.2 -inherit python-single-r1 ecm kde.org +inherit python-single-r1 ecm kde.org optfeature DESCRIPTION="KDE Applications 5 translation tool" HOMEPAGE="https://kde.org/applications/office/org.kde.lokalize @@ -65,8 +65,9 @@ src_install() { } pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "Autofetch kde.org translations in new project wizard" dev-vcs/subversion + fi ecm_pkg_postinst - - has_version dev-vcs/subversion || \ - elog "To be able to autofetch KDE translations in new project wizard, install dev-vcs/subversion." } diff --git a/kde-apps/lokalize/lokalize-9999.ebuild b/kde-apps/lokalize/lokalize-9999.ebuild index cf304476d8..22da4a6a83 100644 --- a/kde-apps/lokalize/lokalize-9999.ebuild +++ b/kde-apps/lokalize/lokalize-9999.ebuild @@ -7,7 +7,7 @@ ECM_HANDBOOK="forceoptional" PYTHON_COMPAT=( python3_{7,8} ) KFMIN=5.73.0 QTMIN=5.14.2 -inherit python-single-r1 ecm kde.org +inherit python-single-r1 ecm kde.org optfeature DESCRIPTION="KDE Applications 5 translation tool" HOMEPAGE="https://kde.org/applications/office/org.kde.lokalize @@ -65,8 +65,9 @@ src_install() { } pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "Autofetch kde.org translations in new project wizard" dev-vcs/subversion + fi ecm_pkg_postinst - - has_version dev-vcs/subversion || \ - elog "To be able to autofetch KDE translations in new project wizard, install dev-vcs/subversion." }