mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-python/guessit: add test dep on pytest-mock
Closes: https://bugs.gentoo.org/828783 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -24,6 +24,11 @@ RDEPEND="
|
||||
dev-python/importlib_resources[${PYTHON_USEDEP}]
|
||||
' python3_8 pypy3)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -32,8 +37,5 @@ python_prepare_all() {
|
||||
rm guessit/test/test_benchmark.py || die
|
||||
sed -i -e "s|'pytest-benchmark',||g" setup.py || die
|
||||
|
||||
# Disable unconditional dependency on dev-python/pytest-runner.
|
||||
sed -i -e "s|'pytest-runner'||g" setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user