public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/svgelements/
Date: Mon,  6 Feb 2023 21:34:17 +0000 (UTC)	[thread overview]
Message-ID: <1675708826.ca4c364d488038ea227344a67b8303e6f9e1810a.lanodan@gentoo> (raw)

commit:     ca4c364d488038ea227344a67b8303e6f9e1810a
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Feb  6 10:12:43 2023 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Feb  6 18:40:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca4c364d

dev-python/svgelements: Use optfeature instead of doing it by hand

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/svgelements/svgelements-1.9.0.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-python/svgelements/svgelements-1.9.0.ebuild b/dev-python/svgelements/svgelements-1.9.0.ebuild
index a249fc5f6..dbf009125 100644
--- a/dev-python/svgelements/svgelements-1.9.0.ebuild
+++ b/dev-python/svgelements/svgelements-1.9.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 optfeature
 
 DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects."
 HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements"
@@ -40,9 +40,7 @@ python_test() {
 }
 
 pkg_postinst() {
-	elog Some other packages could be installed to extend functionnality:
-	elog
-	elog - dev-python/scipy, to be more precise for arc lenght
-	elog - dev-python/pillow, to be able to load images
-	elog - dev-python/numpy, to do lightning fast linearization for Shapes
+	optfeature "getting exact value for arc lenght computation" dev-python/scipy
+	optfeature "loading images" dev-python/pillow
+	optfeature "speeding up linearization for Shapes" dev-python/numpy
 }


             reply	other threads:[~2023-02-06 21:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-06 21:34 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-05 12:00 [gentoo-commits] repo/proj/guru:master commit in: dev-python/svgelements/ Florian Schmaus
2024-04-12 19:59 Julien Roy
2024-04-12 19:59 Julien Roy
2023-11-16 16:02 David Roman
2023-04-26  9:44 Florian Schmaus
2023-02-06  8:21 Viorel Munteanu

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=1675708826.ca4c364d488038ea227344a67b8303e6f9e1810a.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --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