mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
39 lines
976 B
Bash
39 lines
976 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{12..15} )
|
|
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="pytest plugin for aiohttp support"
|
|
HOMEPAGE="
|
|
https://github.com/aio-libs/pytest-aiohttp/
|
|
https://pypi.org/project/pytest-aiohttp/
|
|
"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
|
|
RDEPEND="
|
|
>=dev-python/aiohttp-3.11.0_beta1[${PYTHON_USEDEP}]
|
|
>=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
|
|
>=dev-python/pytest-asyncio-0.17.2[${PYTHON_USEDEP}]
|
|
"
|
|
BDEPEND="
|
|
>=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
EPYTEST_PLUGINS=( "${PN}" pytest-asyncio )
|
|
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
|
|
distutils_enable_tests pytest
|
|
|
|
EPYTEST_DESELECT=(
|
|
# warning doesn't seem to be emitted for some reason
|
|
# doesn't look very important
|
|
tests/test_obsolete_fixtures.py::test_loop_fixture
|
|
)
|