summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-07 16:28:03 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-07 16:28:03 +0200
commit953e50ae900c1058e78c00c5e0c38d3acdce7b73 (patch)
tree0a178a949f5a5d4d52aa5aade795561d9e168edf /dev-python/fonttools
parentdev-python/weasyprint: Update pypi remote-id (diff)
downloadgentoo-953e50ae900c1058e78c00c5e0c38d3acdce7b73.tar.gz
gentoo-953e50ae900c1058e78c00c5e0c38d3acdce7b73.tar.bz2
gentoo-953e50ae900c1058e78c00c5e0c38d3acdce7b73.zip
dev-python/fonttools: Fix automagic dep on cython
Reported by Arthur Zamarin. Thanks! Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/fonttools')
-rw-r--r--dev-python/fonttools/fonttools-4.26.1-r1.ebuild (renamed from dev-python/fonttools/fonttools-4.26.1.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/fonttools/fonttools-4.26.1.ebuild b/dev-python/fonttools/fonttools-4.26.1-r1.ebuild
index 4d8ca0ed94f0..2ed01e966da8 100644
--- a/dev-python/fonttools/fonttools-4.26.1.ebuild
+++ b/dev-python/fonttools/fonttools-4.26.1-r1.ebuild
@@ -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