mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 12:18:08 -07:00
dev-python/cffi: Enable py3.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
# DO NOT ADD pypy to PYTHON_COMPAT
|
||||
# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead.
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
|
||||
|
||||
inherit distutils-r1 toolchain-funcs
|
||||
|
||||
@@ -23,7 +23,7 @@ RDEPEND="
|
||||
dev-python/pycparser[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
|
||||
@@ -38,10 +38,8 @@ python_compile_all() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
einfo "$PYTHONPATH"
|
||||
$PYTHON -c "import _cffi_backend as backend" || die
|
||||
PYTHONPATH="${PYTHONPATH}" \
|
||||
py.test -x -v \
|
||||
"${PYTHON}" -c "import _cffi_backend as backend" || die
|
||||
pytest -x -vv \
|
||||
--ignore testing/test_zintegration.py \
|
||||
--ignore testing/embedding \
|
||||
c/ testing/ \
|
||||
|
||||
Reference in New Issue
Block a user