dev-python/fonttools: Fix automagic dep on cython

Reported by Arthur Zamarin.  Thanks!

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-08-07 16:28:03 +02:00
parent 86ce8412ad
commit 953e50ae90
@@ -19,6 +19,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~
RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]"
BDEPEND="
${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
test? (
app-arch/brotli[python,${PYTHON_USEDEP}]
app-arch/zopfli
@@ -42,6 +43,10 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
src_configure() {
DISTUTILS_ARGS=( --with-cython )
}
python_test() {
distutils_install_for_testing
# virtualx used when matplotlib is installed causing plot module tests to run