From: Michał Górny Date: Tue, 26 May 2020 08:02:27 +0000 (+0200) Subject: dev-python/cython: Port to py39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78c28f624e112d2fb0487c0e6a9fb0ef2d38a214;p=gentoo.git dev-python/cython: Port to py39 Signed-off-by: Michał Górny --- diff --git a/dev-python/cython/cython-0.29.19.ebuild b/dev-python/cython/cython-0.29.19.ebuild index 187187f52342..8b4b6e7acc61 100644 --- a/dev-python/cython/cython-0.29.19.ebuild +++ b/dev-python/cython/cython-0.29.19.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 toolchain-funcs elisp-common @@ -26,7 +26,7 @@ BDEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \ - 'python3*') + python3_{6,7,8}) )" PATCHES=( @@ -54,6 +54,12 @@ python_compile_all() { } python_test() { + if [[ ${EPYTHON} == python3.9 ]]; then + # https://github.com/cython/cython/issues/3349 + einfo "Skipping py3.9 due to known failures" + return + fi + tc-export CC # https://github.com/cython/cython/issues/1911 local -x CFLAGS="${CFLAGS} -fno-strict-overflow"