mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
dev-python/svgelements: Use optfeature instead of doing it by hand
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
@@ -6,7 +6,7 @@ EAPI=8
|
|||||||
DISTUTILS_USE_PEP517=setuptools
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1 optfeature
|
||||||
|
|
||||||
DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects."
|
DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects."
|
||||||
HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements"
|
HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements"
|
||||||
@@ -40,9 +40,7 @@ python_test() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
elog Some other packages could be installed to extend functionnality:
|
optfeature "getting exact value for arc lenght computation" dev-python/scipy
|
||||||
elog
|
optfeature "loading images" dev-python/pillow
|
||||||
elog - dev-python/scipy, to be more precise for arc lenght
|
optfeature "speeding up linearization for Shapes" dev-python/numpy
|
||||||
elog - dev-python/pillow, to be able to load images
|
|
||||||
elog - dev-python/numpy, to do lightning fast linearization for Shapes
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user