commit:     953e50ae900c1058e78c00c5e0c38d3acdce7b73
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  7 14:28:03 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  7 14:28:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953e50ae

dev-python/fonttools: Fix automagic dep on cython

Reported by Arthur Zamarin.  Thanks!

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{fonttools-4.26.1.ebuild => fonttools-4.26.1-r1.ebuild}          | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/fonttools/fonttools-4.26.1.ebuild 
b/dev-python/fonttools/fonttools-4.26.1-r1.ebuild
similarity index 93%
rename from dev-python/fonttools/fonttools-4.26.1.ebuild
rename to dev-python/fonttools/fonttools-4.26.1-r1.ebuild
index 4d8ca0ed94f..2ed01e966da 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

Reply via email to