Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cffi/
Date: Sat, 16 Nov 2019 23:01:04
Message-Id: 1573945254.51306794f98d109516a42068a5bb94eea556ebd3.mgorny@gentoo
1 commit: 51306794f98d109516a42068a5bb94eea556ebd3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 16 22:17:16 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 16 23:00:54 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51306794
7
8 dev-python/cffi: Enable py3.8
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cffi/cffi-1.12.3.ebuild | 10 ++++------
13 1 file changed, 4 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/cffi/cffi-1.12.3.ebuild b/dev-python/cffi/cffi-1.12.3.ebuild
16 index 840d0fec402..b2ad7323ec9 100644
17 --- a/dev-python/cffi/cffi-1.12.3.ebuild
18 +++ b/dev-python/cffi/cffi-1.12.3.ebuild
19 @@ -5,7 +5,7 @@ EAPI=7
20
21 # DO NOT ADD pypy to PYTHON_COMPAT
22 # pypy bundles a modified version of cffi. Use python_gen_cond_dep instead.
23 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
24 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
25
26 inherit distutils-r1 toolchain-funcs
27
28 @@ -23,7 +23,7 @@ RDEPEND="
29 dev-python/pycparser[${PYTHON_USEDEP}]"
30 DEPEND="${RDEPEND}
31 virtual/pkgconfig
32 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
33 + doc? ( dev-python/sphinx )
34 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
35
36 # Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
37 @@ -38,10 +38,8 @@ python_compile_all() {
38 }
39
40 python_test() {
41 - einfo "$PYTHONPATH"
42 - $PYTHON -c "import _cffi_backend as backend" || die
43 - PYTHONPATH="${PYTHONPATH}" \
44 - py.test -x -v \
45 + "${PYTHON}" -c "import _cffi_backend as backend" || die
46 + pytest -x -vv \
47 --ignore testing/test_zintegration.py \
48 --ignore testing/embedding \
49 c/ testing/ \