1 |
commit: 19345c8d515e52877cda263097010244bd07d2b7 |
2 |
Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 31 08:57:58 2021 +0000 |
4 |
Commit: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Dec 31 08:57:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19345c8d |
7 |
|
8 |
net-misc/maestral: fix failing tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/830339 |
11 |
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com> |
12 |
|
13 |
net-misc/maestral/maestral-1.5.2.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/maestral/maestral-1.5.2.ebuild b/net-misc/maestral/maestral-1.5.2.ebuild |
17 |
index 54d55b1bd..f9a6c3ad9 100644 |
18 |
--- a/net-misc/maestral/maestral-1.5.2.ebuild |
19 |
+++ b/net-misc/maestral/maestral-1.5.2.ebuild |
20 |
@@ -50,6 +50,11 @@ python_prepare_all() |
21 |
# this test requires network |
22 |
sed -i -e 's/test_check_for_updates/_&/' tests/offline/test_main.py || die |
23 |
|
24 |
+ # this test fails on default gentoo instalation as `/usr/local/share` is missing |
25 |
+ # so use `/usr/share` instead |
26 |
+ # inform upstream https://github.com/samschott/maestral/issues/562 |
27 |
+ sed -i -e 's:/local/:/:g' tests/offline/utils/test_path.py || die |
28 |
+ |
29 |
distutils-r1_python_prepare_all |
30 |
} |