commit:     19345c8d515e52877cda263097010244bd07d2b7
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Fri Dec 31 08:57:58 2021 +0000
Commit:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
CommitDate: Fri Dec 31 08:57:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19345c8d

net-misc/maestral: fix failing tests

Closes: https://bugs.gentoo.org/830339
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>

 net-misc/maestral/maestral-1.5.2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net-misc/maestral/maestral-1.5.2.ebuild 
b/net-misc/maestral/maestral-1.5.2.ebuild
index 54d55b1bd..f9a6c3ad9 100644
--- a/net-misc/maestral/maestral-1.5.2.ebuild
+++ b/net-misc/maestral/maestral-1.5.2.ebuild
@@ -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
 }
 

Reply via email to