dev-util/fontmake: add optional deps for testing

Closes: https://bugs.gentoo.org/840368
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-24 01:47:18 +02:00
parent bd2e39aee7
commit 70ea9e8464

View File

@@ -37,6 +37,8 @@ BDEPEND="
test? (
media-gfx/fontdiff
dev-python/mock[${PYTHON_USEDEP}]
>=dev-python/ttfautohint-py-0.5.0[${PYTHON_USEDEP}]
>=dev-python/MutatorMath-3.0.1[${PYTHON_USEDEP}]
)
"
PATCHES=(
@@ -52,5 +54,5 @@ pkg_setup() {
pkg_postinst() {
optfeature "mutatormath support" >=dev-python/MutatorMath-3.0.1[${PYTHON_USEDEP}]
optfeature "pathops support" >=dev-python/skia-pathops-0.3.0[${PYTHON_USEDEP}]
optfeature "autohint support" >=dev-python/ttfautohint-0.5.0[${PYTHON_USEDEP}]
optfeature "autohint support" >=dev-python/ttfautohint-py-0.5.0[${PYTHON_USEDEP}]
}