net-misc/maestral: fix failing tests

Closes: https://bugs.gentoo.org/830339
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
This commit is contained in:
Viorel Munteanu
2021-12-31 10:57:58 +02:00
parent c407e6dad6
commit 19345c8d51

View File

@@ -50,6 +50,11 @@ python_prepare_all()
# this test requires network
sed -i -e 's/test_check_for_updates/_&/' tests/offline/test_main.py || die
# this test fails on default gentoo instalation as `/usr/local/share` is missing
# so use `/usr/share` instead
# inform upstream https://github.com/samschott/maestral/issues/562
sed -i -e 's:/local/:/:g' tests/offline/utils/test_path.py || die
distutils-r1_python_prepare_all
}