dev-python/pytest-asyncio: new package, add 0.20.2

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2022-12-18 09:16:36 +01:00 committed by Andreas Billmeier
parent 1abd3e15f2
commit b72488af5b
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST pytest-asyncio-0.20.2.gh.tar.gz 25876 BLAKE2B 75f948b804cb8945ec6153a5386ec4e2c5e95757c012acb04f9dcc877b109f0af1f9093a242c6d38196014c8da01fe459687d37fd4cb2fbeed2705936a9fba15 SHA512 5d8b4965cea14dec2a2c7f21f6bb1bad6693b93f07b9dab5c880107a944942bd2c3ef38adc0e17b309222a53afa7504f827baf42201c2a0282a266118e3f7eb7
EBUILD pytest-asyncio-0.20.2.ebuild 1183 BLAKE2B bf715b90975e1325d86fb488a31d4fdf7ba621fe7b72dbd2ce2190bdaabbd515cf216d8ea892d51d43a6c7c474f6d115f2fac687cb69e52ce0e4798557d81484 SHA512 bbca99cc19a3a2c04080c4dcaf29e250130c0bcf5080ca872901518a32841aa21cf599d7ddfad2497595f9d8fa5e7e41138d7c09c3812823660b606fdf7cdf72
MISC metadata.xml 385 BLAKE2B 3d8faba48e1b3e531ea338f08f2de4b7bf637190e65fc61df2bd4d994cc97707016f83927f4a5181ac27d412a8c91255e90caba15f2d687f2339bc8ea61b18f2 SHA512 71178d3fba362e7532c87cb519f3661b25018771b86c302660de11f1bc7817b8352a2c8fcf60084a5e62b15148307a360267381ac38e8c856784034d80327d4d

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">pytest-asyncio</remote-id>
<remote-id type="github">pytest-dev/pytest-asyncio</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,51 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Library for testing asyncio code with pytest"
HOMEPAGE="
https://github.com/pytest-dev/pytest-asyncio/
https://pypi.org/project/pytest-asyncio/
"
SRC_URI="
https://github.com/pytest-dev/pytest-asyncio/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
>=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/flaky[${PYTHON_USEDEP}]
>=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
EPYTEST_DESELECT=(
# rely on precise warning counts
tests/test_pytest_min_version_warning.py
tests/modes/test_legacy_mode.py
tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures
)
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin,flaky.flaky_pytest_plugin
epytest
}