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] repo/gentoo:master commit in: sci-chemistry/molsketch/
Date: Mon, 17 Mar 2025 15:39:30 +0000 (UTC)	[thread overview]
Message-ID: <1742225809.063f5535d93bdd9d2d0167d1b2f18d9628abc647.asturm@gentoo> (raw)

commit:     063f5535d93bdd9d2d0167d1b2f18d9628abc647
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 15:36:49 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 15:36:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063f5535

sci-chemistry/molsketch: mv openbabel[inchi] runtime info to optfeature

See also: https://github.com/gentoo/gentoo/pull/41049

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-chemistry/molsketch/metadata.xml           | 2 +-
 sci-chemistry/molsketch/molsketch-0.8.1.ebuild | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/molsketch/metadata.xml b/sci-chemistry/molsketch/metadata.xml
index 88fb2f8b4485..180494b54d2f 100644
--- a/sci-chemistry/molsketch/metadata.xml
+++ b/sci-chemistry/molsketch/metadata.xml
@@ -11,7 +11,7 @@
 		afterwards in high quality in a number of vector and bitmap formats.
 	</longdescription>
 	<use>
-		<flag name="openbabel">Interface for <pkg>sci-chemistry/openbabel</pkg> to support many file formats. With inchi support at runtime, the wikiquery plugin is enabled.</flag>
+		<flag name="openbabel">Interface for <pkg>sci-chemistry/openbabel</pkg> to support many file formats</flag>
 	</use>
 	<upstream>
 		<remote-id type="sourceforge">molsketch</remote-id><!-- old -->

diff --git a/sci-chemistry/molsketch/molsketch-0.8.1.ebuild b/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
index 46531a609380..c0580aff5233 100644
--- a/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
+++ b/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake xdg
+inherit cmake optfeature xdg
 
 DESCRIPTION="Drawing tool for 2D molecular structures"
 HOMEPAGE="https://molsketch.sourceforge.io/ https://github.com/hvennekate/Molsketch/"
@@ -34,3 +34,9 @@ src_configure() {
 	)
 	cmake_src_configure
 }
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	use openbabel && optfeature "wikiquery support through openbabel inchi interface" "sci-chemistry/openbabel[inchi]"
+}


             reply	other threads:[~2025-03-17 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-17 15:39 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-17 15:39 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/ Andreas Sturmlechner
2025-03-17 15:39 Andreas Sturmlechner
2025-03-17 15:39 Andreas Sturmlechner
2022-07-21 12:22 Andrew Ammerlaan
2022-06-09  7:02 Pacho Ramos
2022-02-24 19:43 Andrew Ammerlaan
2022-02-24 15:12 Andrew Ammerlaan
2020-05-20 23:06 Andreas Sturmlechner
2017-06-03 19:36 Justin Lecher

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=1742225809.063f5535d93bdd9d2d0167d1b2f18d9628abc647.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