commit: 93b9fca29cccb66846a5b95edc96fd05171c777a
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon May 4 01:51:40 2020 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon May 4 01:54:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b9fca2
dev-python/pytest-aiohttp: 0.3.0-r1 revbump to require pytest-5.4
Solves this issue:
/usr/lib64/python3.6/site-packages/pytest_asyncio/plugin.py:39: in
pytest_pycollect_makeitem
item = pytest.Function.from_parent(collector, name=name)
E AttributeError: type object 'Function' has no attribute 'from_parent'
See: https://github.com/gentoo/gentoo/pull/15435#discussion_r412989852
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
.../pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
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
new file mode 100644
index 00000000000..733b6f0e196
--- /dev/null
+++ b/dev-python/pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="pytest plugin for aiohttp support"
+HOMEPAGE="https://github.com/aio-libs/pytest-aiohttp/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}"
+RDEPEND="
+ ${CDEPEND}
+ >=dev-python/pytest-5.4[${PYTHON_USEDEP}]
+ >=dev-python/aiohttp-0.22.0[${PYTHON_USEDEP}]
+"