public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: sci-astronomy/kstars/
Date: Mon,  7 Sep 2020 15:07:47 +0000 (UTC)	[thread overview]
Message-ID: <1599491151.f15d96dd196ba3d122997b32f046bbb886a622e1.asturm@gentoo> (raw)

commit:     f15d96dd196ba3d122997b32f046bbb886a622e1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 14:50:46 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 15:05:51 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=f15d96dd

sci-astronomy/kstars: Use optfeature

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-astronomy/kstars/kstars-9999.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-astronomy/kstars/kstars-9999.ebuild b/sci-astronomy/kstars/kstars-9999.ebuild
index 3c1a48fa23..337700e089 100644
--- a/sci-astronomy/kstars/kstars-9999.ebuild
+++ b/sci-astronomy/kstars/kstars-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 ECM_HANDBOOK="forceoptional"
 KFMIN=5.60.0
 QTMIN=5.12.3
-inherit ecm kde.org
+inherit ecm kde.org optfeature
 
 DESCRIPTION="Desktop Planetarium"
 HOMEPAGE="https://kde.org/applications/education/org.kde.kstars
@@ -89,10 +89,10 @@ src_configure() {
 }
 
 pkg_postinst() {
-	ecm_pkg_postinst
-
-	if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "x11-misc/xplanet" ; then
-		elog "${PN} has optional runtime support for x11-misc/xplanet"
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		elog "Optional dependencies:"
+		optfeature "Display 'current' pictures of planets" x11-misc/xplanet
+		# for AstrometryNet is not packaged.
 	fi
-	# same for AstrometryNet, which is not packaged.
+	ecm_pkg_postinst
 }


             reply	other threads:[~2020-09-07 15:07 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 15:07 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-03 20:45 [gentoo-commits] proj/kde:master commit in: sci-astronomy/kstars/ Andreas Sturmlechner
2024-12-03 20:45 Andreas Sturmlechner
2024-12-03 20:45 Andreas Sturmlechner
2024-11-09 10:55 Andreas Sturmlechner
2024-11-08 16:35 Andreas Sturmlechner
2024-10-21 21:21 Andreas Sturmlechner
2024-04-22 19:26 Andreas Sturmlechner
2023-10-01 15:05 Andreas Sturmlechner
2023-10-01 15:05 Andreas Sturmlechner
2023-07-25 14:05 Andreas Sturmlechner
2022-12-27 12:22 Andreas Sturmlechner
2022-10-11 15:18 Andreas Sturmlechner
2022-10-05 20:46 Andreas Sturmlechner
2022-10-05 20:46 Andreas Sturmlechner
2022-03-25 20:23 Andreas Sturmlechner
2022-03-24 11:59 Andreas Sturmlechner
2021-07-08 11:50 Andreas Sturmlechner
2021-04-04 19:21 Andreas Sturmlechner
2021-01-02 20:28 Andreas Sturmlechner
2020-10-10 21:39 Andreas Sturmlechner
2020-07-21 18:44 Andreas Sturmlechner
2019-12-07 23:35 Andreas Sturmlechner
2019-11-20 20:34 Andreas Sturmlechner
2019-11-13  2:00 Andreas Sturmlechner
2019-01-26 20:29 Andreas Sturmlechner
2018-12-23  1:29 Andreas Sturmlechner
2018-12-23  0:06 Andreas Sturmlechner
2018-12-23  0:06 Andreas Sturmlechner
2018-12-23  0:06 Andreas Sturmlechner
2018-05-23 13:33 Andreas Sturmlechner
2018-05-23 13:33 Andreas Sturmlechner
2018-04-09 19:59 Johannes Huber
2018-04-09 19:59 Johannes Huber
2018-04-09 19:59 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1599491151.f15d96dd196ba3d122997b32f046bbb886a622e1.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox