commit: ca4c364d488038ea227344a67b8303e6f9e1810a
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Feb 6 10:12:43 2023 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
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
}