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/requests-mock/
Date: Wed, 07 Jul 2021 22:29:53
Message-Id: 1625696982.a7b01fb982b71ded49b4367a4082ee00fcb7d297.mgorny@gentoo
1 commit: a7b01fb982b71ded49b4367a4082ee00fcb7d297
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 7 22:20:17 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 7 22:29:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7b01fb9
7
8 dev-python/requests-mock: Port to py3.10
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/requests-mock/requests-mock-1.9.3.ebuild | 7 +++----
13 1 file changed, 3 insertions(+), 4 deletions(-)
14
15 diff --git a/dev-python/requests-mock/requests-mock-1.9.3.ebuild b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
16 index 9d82f5779da..ecf8e6aa4b5 100644
17 --- a/dev-python/requests-mock/requests-mock-1.9.3.ebuild
18 +++ b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
19 @@ -1,10 +1,9 @@
20 # Copyright 1999-2021 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=7
24 -
25 -PYTHON_COMPAT=( pypy3 python3_{7..9} )
26 +EAPI=8
27
28 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
29 inherit distutils-r1
30
31 DESCRIPTION="Mock out responses from the requests package"
32 @@ -30,7 +29,7 @@ BDEPEND="
33 "
34
35 distutils_enable_sphinx doc/source
36 -distutils_enable_tests unittest
37 +distutils_enable_tests pytest
38
39 python_prepare_all() {
40 # Disable reno which only works inside a git repository