diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-11-16 23:17:16 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-11-17 00:00:54 +0100 |
commit | 51306794f98d109516a42068a5bb94eea556ebd3 (patch) | |
tree | 631374e7c6c02306e55c3195571cf60d8d6288cf | |
parent | dev-python/pycparser: Enable py3.8 (diff) | |
download | gentoo-51306794f98d109516a42068a5bb94eea556ebd3.tar.gz gentoo-51306794f98d109516a42068a5bb94eea556ebd3.tar.bz2 gentoo-51306794f98d109516a42068a5bb94eea556ebd3.zip |
dev-python/cffi: Enable py3.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/cffi/cffi-1.12.3.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-python/cffi/cffi-1.12.3.ebuild b/dev-python/cffi/cffi-1.12.3.ebuild index 840d0fec402c..b2ad7323ec94 100644 --- a/dev-python/cffi/cffi-1.12.3.ebuild +++ b/dev-python/cffi/cffi-1.12.3.ebuild @@ -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/ \ |