commit: ac0f3825ed665f90c8d13fc0e708dbd308e26844
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 07:28:49 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 11:37:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0f3825
dev-python/pyperclip: Skip tests requiring Wayland
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyperclip/pyperclip-1.8.2.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-python/pyperclip/pyperclip-1.8.2.ebuild
b/dev-python/pyperclip/pyperclip-1.8.2.ebuild
index 361a2543afb..e61e7e130fd 100644
--- a/dev-python/pyperclip/pyperclip-1.8.2.ebuild
+++ b/dev-python/pyperclip/pyperclip-1.8.2.ebuild
@@ -44,7 +44,8 @@ src_prepare() {
find -type f -exec sed -i -e 's:\r$::' {} + || die
# klipper is hard to get working, and once we make it work,
# it breaks most of the other backends
- sed -e 's:_executable_exists("klipper"):False:' \
+ # wl-copy requires wayland, not Xvfb
+ sed -e 's:_executable_exists("\(klipper\|wl-copy\)"):False:' \
-i tests/test_pyperclip.py || die
distutils-r1_src_prepare
}