1 |
commit: 93b9fca29cccb66846a5b95edc96fd05171c777a |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 01:51:40 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 01:54:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b9fca2 |
7 |
|
8 |
dev-python/pytest-aiohttp: 0.3.0-r1 revbump to require pytest-5.4 |
9 |
|
10 |
Solves this issue: |
11 |
|
12 |
/usr/lib64/python3.6/site-packages/pytest_asyncio/plugin.py:39: in pytest_pycollect_makeitem |
13 |
item = pytest.Function.from_parent(collector, name=name) |
14 |
E AttributeError: type object 'Function' has no attribute 'from_parent' |
15 |
|
16 |
See: https://github.com/gentoo/gentoo/pull/15435#discussion_r412989852 |
17 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
18 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
19 |
|
20 |
.../pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild | 26 ++++++++++++++++++++++ |
21 |
1 file changed, 26 insertions(+) |
22 |
|
23 |
diff --git a/dev-python/pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild b/dev-python/pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..733b6f0e196 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild |
28 |
@@ -0,0 +1,26 @@ |
29 |
+# Copyright 1999-2020 Gentoo Authors |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=7 |
33 |
+ |
34 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
35 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="pytest plugin for aiohttp support" |
40 |
+HOMEPAGE="https://github.com/aio-libs/pytest-aiohttp/" |
41 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
49 |
+DEPEND="${CDEPEND}" |
50 |
+RDEPEND=" |
51 |
+ ${CDEPEND} |
52 |
+ >=dev-python/pytest-5.4[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/aiohttp-0.22.0[${PYTHON_USEDEP}] |
54 |
+" |