mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/portalocker: Use EPYTEST_PLUGINS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -32,6 +32,7 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{rerunfailures,timeout} )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
@@ -41,11 +42,6 @@ src_prepare() {
|
||||
sed -i '/--cov/d' pyproject.toml || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p rerunfailures -p timeout
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "redis support" dev-python/redis
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user