summaryrefslogtreecommitdiff
path: root/dev-python/pyperclip/pyperclip-1.8.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyperclip/pyperclip-1.8.2.ebuild')
-rw-r--r--dev-python/pyperclip/pyperclip-1.8.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/pyperclip/pyperclip-1.8.2.ebuild b/dev-python/pyperclip/pyperclip-1.8.2.ebuild
index 361a2543afb3..e61e7e130fd2 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
}