mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
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@gentoo.org>
27 lines
616 B
Bash
27 lines
616 B
Bash
# 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}]
|
|
"
|